/ Published in: JavaScript
strip non alphanumerical characters while typing
Expand |
Embed | Plain Text
<input type='text' onkeyup="this.value = this.value.replace(/[^a-z0-9]/gi,"");" />
You need to login to post a comment.
ginoplusio on 11/25/08
javascript js replace validation regular Expression alphanum
1 person have marked this snippet as a favorite
strip non alphanumerical characters while typing
<input type='text' onkeyup="this.value = this.value.replace(/[^a-z0-9]/gi,"");" />
You need to login to post a comment.