For text validation for chars I am using like [a-zA-z] and for numbers like [0-9] ..if I need to add special symbols I am adding slash like [a-zA-z/-/].
While including lot of symbols its getting difficult and my javascript is getting extremely big. Is there an easy way to do it ?
Regards A.Collins
[A-z]is equivalent to[A-Z[\\\\]^_`a-z]so it does not only containA–Zbut alsoa–zand the characters[,\,],^,_and`that are betweenZanda.