To remove all RPM packages containing a similar name, search for them in your rpm db and pass the result onto an rpm -ev command:
rpm -qa | grep 'drupal' | xargs rpm -ev
rpm -qa | grep 'drupal' | xargs rpm -ev
Note this does not take package dependencies into account