javascript regex validation

Posted by Arun on Stack Overflow See other posts from Stack Overflow or by Arun
Published on 2010-04-29T10:06:42Z Indexed on 2010/04/29 10:17 UTC
Read the original article Hit count: 417

Filed under:
|
|

Is there any way to find which input character fails the regex pattern.

For ex: consider [A-Za-z\s.&] is only allowable but the user enter like "test/string" where '/' invalidates input. How to find who fails regex (our case '/')

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about regex