REGEX rejecting simple alphamumeric

Posted by GDB on Stack Overflow See other posts from Stack Overflow or by GDB
Published on 2010-05-16T21:26:25Z Indexed on 2010/05/16 21:30 UTC
Read the original article Hit count: 341

Filed under:
|

I don't get it; this should be simple:

Why does this text box entry: Foo 2010 Validated by this REGEX: ValidationExpression="^[a-zA-Z0-9 -_!]+$" Throw an invalid entry error? It is intended to allow alphamumerics, spaces, dashes, underscores and exclamation marks.

REGEX gives me a headache ...

© Stack Overflow or respective owner

Related posts about regex

Related posts about alphanumeric