12
rated 0 times
[
13]
[
1]
/ answers: 1 / hits: 22771
/ 15 Years ago, tue, april 28, 2009, 12:00:00
I was able to find the solution for this in c# / .net but not for regular web html. If there's already an answer let me know and i'll close question.
How to create a text box that only will allow certain characters (ex. alphanumeric) based on a given regex (ex. [a-zA-Z0-9])? So if a user tries to enter anything else, paste included, it is removed or not allowed.
<input type=text class=alphanumericOnly>
More From » regex