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 Link to comment https://forums.phpfreaks.com/topic/86917-solved-eregi/ 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. Link to comment https://forums.phpfreaks.com/topic/86917-solved-eregi/#findComment-444371 Share on other sites More sharing options...
Daney11 Posted January 20, 2008 Author Share Posted January 20, 2008 lol, so simple. thanks <3 Link to comment https://forums.phpfreaks.com/topic/86917-solved-eregi/#findComment-444373 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.