I have 4000 spam profiles on my Elgg site

Ok so my website got hit really bad recently. Luckily I have now plugged the hole.. I'm not getting any spam profiles anymore HOWEVER.. I now have 4000 spam profiles on my website as a leftover from the attack. How am I going to get rid of these spam profiles without having to check each one and clicking delete? Is there some kind of search tool where I can say "ok anyone that mentions viagara, or payday loans get deleted"? Or some mass user deletion tool?

 

Thanks in advance!