0
How to check username in a particular format
I want to check whether if the username entered is in format which begins with jk followed by ome or more % follwed by # follwed by gh . For example it should check as jk%%%#gh or jk%%#gh
2 Antworten
0
Show us your attempt, so that we can figure it out together.
0
if(preg_match(/^jk%{1,}#gh$/, $string, $match)