Bowie Bailey wrote:
If you are going to try this, you will definately want to check word boundaries like this:header BAD_WORDS Subject =~ /\bbadword\b/i The "\b" on either side will ensure that you don't match the string as part of another word. (Anyone been to Essex? :)
Even that isn't foolproof. Ever met someone who graduated college cum laude? -- Kelson Vibber SpeedGate Communications <www.speed.net>