Posted on: 12/22/2013 5:29:15 PM | Views : 641

I have an input registration form the ends with a "Please prove to us that you are not a spambot: what does one plus one equal?" question. Usually I could use a CompareValidator and set ValueToCompare=2, but I want the user to be able to write out the word "two" and have it accept it. I want a validator that will accept the value "two" or "tWo" or "2". What is a good regular expression to use with the RegularExpressionValidator to make this work?

Go to the complete details ...