burhankhan Posted January 13, 2007 Share Posted January 13, 2007 Hi:How to check that a username consists only (Number, Alphabetics, _ , - ).How to check it in regular expression, or any other method?I tried some, but no success.ThanksBurhan Khan Quote Link to comment Share on other sites More sharing options...
scotmcc Posted January 13, 2007 Share Posted January 13, 2007 Check out this page, there are several examples.http://www.php.net/manual/en/function.preg-match.phpScot 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.