preg_match_all("/([\x{4e00}-\x{9fa5}])/u", $input, $match); 注意:限定代码文件和input字符串都是utf-8编码才可以 转载于:https://www.cnblogs.com/zuikeol/p/7159542.html