//如果只想匹配中文,中文的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
猜你喜欢
  • 2022-12-23
  • 2021-12-24
  • 2021-08-10
  • 2021-07-08
  • 2022-12-23
相关资源
相似解决方案