Appendix D: Regular expressions : Examples
Examples
To block any word in a phrase
/block|any|word/
To block purposefully misspelled words
Spammers often insert other characters between the letters of a word to fool spam blocking software.
^.*v.*i.*a.*g.*r.*o.*$
cr[eéèêë][\+\-\*=<>\.\,;!\?%&§@\^°\$£€\{\}()\[\]\|\\_01]dit
To block common spam phrases
The following phrases are some examples of common phrases found in spam messages.
try it for free
student loans
you’re already a
 
pproved
special[\+\-\*=<>\.\,;!\?%&~#§@\^°\$£€\{\}()\[\]\|\\_1]offer