"/> ">
Home >Backend Development >PHP Tutorial >PHP regular PHP regular verification user name introduction
if (mb_ereg("^[w-.]{1,32}$", $str)) {
echo 'yes';
} else {
echo 'no';
}
?> ;
The above has introduced the PHP regular PHP regular verification user name, including the PHP regular content. I hope it will be helpful to friends who are interested in PHP tutorials.