A2the6th
asked on
Regular expression to create keyword filter
We are running ORF along with Mcafee's anti spam tools. ORF does a great job generally speaking but I have found recently that some email have been slipping through the cracks. Sexually explicit terms are making it through. A keyword filter would be easy enough to setup but I am unsure of how to create the regular expression.
For the most part I would like to create something that would state any word with C(any ascii character)CK at the beginning, middle or end of the word would be marked as spam.
thanks
Chace
For the most part I would like to create something that would state any word with C(any ascii character)CK at the beginning, middle or end of the word would be marked as spam.
thanks
Chace
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Here's a regex reference page that might help you:
http://regexlib.com/CheatSheet.aspx
If you have further interest in regex patterns:
http://www.regular-expressions.info/
http://regexlib.com/CheatSheet.aspx
If you have further interest in regex patterns:
http://www.regular-expressions.info/
ASKER
that will do.
Thanks
Chace
Thanks
Chace
Thanks for the question and the points.
C.CK
Also, you might be interested in checking out Vamsoft's (ORF) site for regex patterns:
http://www.vamsoft.com/rgxexpr.asp?t=3&p=1&s=date_desc