How is the Regular Expression For "Not Whitespace and Not a hyphen"

Posted by rudimenter on Stack Overflow See other posts from Stack Overflow or by rudimenter
Published on 2010-05-07T11:22:24Z Indexed on 2010/05/07 11:28 UTC
Read the original article Hit count: 216

Filed under:

I tried this but it doesn't work :

[^\s-]

Any Ideas?

© Stack Overflow or respective owner

Related posts about regex