Restrict '\' character using RegularExpression Validator..

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi everybody,

How do restrict entering these characters <>\"%';()& and telling user
these caharcters are not allowed to be enter in the textbox field using
RegularExpression Validator? I put in the Validation Expression property
[^<>\"'%;()&]. It restrict every character execpt 0 to 9. How to fixed this?

I used [^<>\"'%;()&]+ in validation Expression property of Regular
Expression Validator Control. All are working except when entering the
character \, which suppose to restrict it. How to restrict '\' character?
Thanks.



den2005
 
Back
Top