Reputation: 82
I am looking for a regex...I am validating it on the client-side(javascript)
accepts all characters/number and all other special charaters except 3 special characters such as '÷' , 'ç' and þ. I am just a beginner please help.
Upvotes: 0
Views: 5359
Reputation: 27913
Find the unicode number for these characters (using your debugger to cast them to an int, or using a program called charmap.exe). The division symbol looks like F7 in hex. Then, you can use this format for your regex:
\u00F7
Upvotes: 0