I'm trying to create a regex spam filter. E-mails for viagra/cialis/etc have been getting through our filter. The batch that is getting through take the form of:
VIAGeRA
CIALeIS
I also want to make sure that other variations are blocked. I've also seen it with spaces between each letter, such as:
V I A G R A
C I A L I S
I'm thinking something like this:
[Vv][Ii1]Aa][Gg][Rr][Aa]
but how do I account for spaces and other characters that may be inserted between the main word?
2006-07-14
05:32:05
·
0 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design