Alphanumeric and more

Posted by Luke on Stack Overflow See other posts from Stack Overflow or by Luke
Published on 2010-04-30T15:25:59Z Indexed on 2010/04/30 15:27 UTC
Read the original article Hit count: 182

Filed under:

So I am designing a registration page and checking the username is alphanumeric.

"^([0-9a-z])+$"

I use that to do so. Is there any way I can get that to include underscores (_), dash (-), and spaces? Thanks

© Stack Overflow or respective owner

Related posts about php