if (mb_ereg("^[w-.]{1,32}$", $str)) {
echo 'yes';
} else {
echo 'no';
}
?>
http://www.bkjia.com/PHPjc/319195.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/319195.htmlTechArticle?php if(mb_ereg("^[w-.]{1,32}$",$str)){ echo'yes'; }else{ echo'no'; } ?...