validate textbox special characters

  • 28 June 2018
  • 1 reply
  • 2 views

Badge +8

I have a textbox that I need to not allow backslashes to be entered in. It seems like this should be really easy, but I can't find any tutorials that cover exactly what I want. Can anyone tell me how to not allow them?


1 reply

Userlevel 5
Badge +14

try regular expression validation with a pattern

^[^\\]*$

Reply