uniterre wrote: Thanks a lot,
But I need to remove posts from guests, so this does not work.
Yeah, there's the first thing - no guest posting.
I'm looking for the same thing with private messages. You might look into running a query where the post_text is like "%spam_word%"