Print Page | Close Window

Sample regex expression

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=2543
Printed Date: 09 May 2025 at 6:45pm


Topic: Sample regex expression
Posted By: Guests
Subject: Sample regex expression
Date Posted: 05 December 2003 at 11:20am

I am trying to figure out how to use regex but I am not quite sure of the process.  Could some one please e-mail a sample that contains some the current SPAM keywords?

Thanks

Robert Gusnowski

 

 




Replies:
Posted By: LogSat
Date Posted: 13 December 2003 at 9:39am

Robert,

The following simple list is what we use on our server:

(<[!--]+[a-zA-Z0-9]{11,})
((<font color="#ffffff">.*){5})
mortgage,click here
mortgage,unsubscribe
see the attached file for details


The first RegEx rejects emails if they contain an HTML comment that has at least 11 contiguous alphanumeric characters. The second rejects email with at least 5 <font color ffff> tags.

Roberto F.
LogSat Software




Print Page | Close Window