OWASP Regex Repository: Is this regex correct?

Posted by Jacco on Stack Overflow See other posts from Stack Overflow or by Jacco
Published on 2010-05-18T07:06:15Z Indexed on 2010/05/18 7:10 UTC
Read the original article Hit count: 1476

Filed under:
|

I was looking at the regular expression for validating various data types from the (OWASP Regex Repository).

One of the regular expressions in there is called safetext and looks like:

^[a-zA-Z0-9\s.\-]+$

My first question is:
Is this regular expression correct?

complementary question
If this Regex Repository any good at all?

© Stack Overflow or respective owner

Related posts about regex

Related posts about owasp