At 10:23 AM 10/30/2003, Andrea Riela wrote:
Hi folks,

How could I filter this type of spam:

Penis
P.enis
Pe.nis
Pen.is
Peni.s

This regex should work for a custom rule to match those patterns. /P(\.?)e(\.?)n(\.?)i(\.?)s/

You'll probably want to make it a bit more useful like this:
                /\bP(\.?)e(\.?)n(\.?)i(\.?)s\b/i

That will force word-boundaries at each end, and will make it case insensitive (ie: to match penis or peNiS)




------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to