Here is an example of a Regular Expression filter. Lately I have been inundated with spams with similar subject lines, but each one slightly different. Examples:
Re: ParamCcy news
Re: PaLramcy news
Re: Pharamanhcy news
Re: P5aramcy news
Re: PaC0ramcy news
All of the subject lines follow a precise pattern
To create a regular expression, we need to look for " Re: P" at the start of the line, 6, 7, 8 or 9 alphanumeric characters, followed by "y news"
In a regular expression,
the symbol ^means the start of a line
the symbol \w means an alphanumeric character
the symbol {6,9} means occurring 6 to 9 times
So the regular expression ^Re: P\w{6,9}y news will look for " Re: P" at the start of the line, 6 to 9 alphanumeric characters, followed by "y news"
To define the filter, you would follow Tools > Spam Tools > My filters > Add.
Give the filter a name, set a color, choose an action, then select the options shown below. Save the filter and say goodbye to those Re: P7aramcy news spams.
This filter and over 60 others using regular expressions are included in the Wiki at http://wiki.castlecops.com/A_list_of_Regex_topics#Various_Regular_Expression_Topics
| Description: |
| Filter out Re: P7aramcy news spam |
|
| Filesize: |
35.64 KB |
| Viewed: |
141 Time(s) |

|
|