Page 1 of 1

Regular Expression Help for SPAM

Posted: Wed Aug 04, 2004 6:05 pm
by pickle
Hi All,

I've got a SPAM filter on my server which isn't catching a particular phrase, let's call it "dum-shot". Can anyone help me with it? Currently, it's set at "/\bdum[ -]?shots?\b/i", without the double quotes. I need the expression to catch all these phrases:

dum
dumshot
dumshots
dum shot
dum shots
dum-shot
dum-shots

Please help and disregard the vulgarity of the post (blame porn, not me :)).

Posted: Wed Aug 04, 2004 6:35 pm
by feyd

Code: Select all

'#\b(dum)(ї\s-]?(shots?)?)\b#i'
??