Daney11 Posted January 20, 2008 Share Posted January 20, 2008 Hey guys I have this ^([a-z0-9]{2,32})$ It works fine to allow a-z and 0-9 however i would like to allow spaces. "meeeee" works but "meee eee" wont work Any ideas? Cheers guys Quote Link to comment Share on other sites More sharing options...
Guest Posted January 20, 2008 Share Posted January 20, 2008 ^([a-z0-9 ]{2,32})$ Note the space after the 9. Quote Link to comment Share on other sites More sharing options...
Daney11 Posted January 20, 2008 Author Share Posted January 20, 2008 lol, so simple. thanks <3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.