php:正则匹配中文
$pattern1 ="/^[x80-xff]+$/"; if(preg_match($pattern1, $str)) { return true; }else{ return false; }