Log in

View Full Version : Regular Expression help


0ptima
02-06-2007, 12:42 AM
I noticed spammers signing up and entering the same value in one of my custom fields when registering. I would like to know what the regular expression would be to exclude a word containing "viagra" (no quotes).

Would [^viagra] do it?

bump....

0ptima
02-07-2007, 10:09 PM
Anybody?