Author: Lotos1 | Posted on: 10/9/2009 1:40:11 PM | Views : 234

I have a RegularExpressionValidator that I want to use to not allow strings like www, .com, .net, http. I'm using this currently for the ValidationExpression but it does not work:  ^(www)|^(\.com)|^(\.net)|^(http)
I'm not sure what I'm doing wrong because I thought '^' means 'not' but for some reason it does not block those strings. When I remove '^' from each one of those, it recognizes those strings but it does not block them. It does the oposite and allows them to be enterd into the TextBox which I do not want.

...

Go to the complete details ...