//如果只想匹配中文,中文的ASI编码为[u4e00-u9fa5] $str = preg_replace("/[\x{4e00}-\x{9fa5}]/iu","zh",$str); 相关文章: 2022-12-23 2021-11-07 2022-12-23 2022-12-23 2021-11-17 2021-11-17 2021-11-17