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 Link to comment https://forums.phpfreaks.com/topic/34045-filter-username-in-php/ 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 Link to comment https://forums.phpfreaks.com/topic/34045-filter-username-in-php/#findComment-160049 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.