Using the command find, files matching a certain expression can be found and deleted with one line of bash:

find . -name "expression" -exec rm -rf {} \;

Sources