Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Sample regex expression
  FAQ FAQ  Forum Search   Register Register  Login Login

Sample regex expression

 Post Reply Post Reply
Author
Robert Gusnowski View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Robert Gusnowski Quote  Post ReplyReply Direct Link To This Post Topic: Sample regex expression
    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

 

 

Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4104
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.219 seconds.