$a = "Car 神";
$result = preg_replace('/([\x80-\xff]*)/i','',$a);
var_dump($result);

参考链接:php字符串去掉中文

相关文章:

  • 2021-10-23
  • 2021-10-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-12
猜你喜欢
  • 2021-12-15
  • 2022-02-28
  • 2022-12-23
  • 2022-02-10
  • 2022-12-23
  • 2021-12-31
  • 2022-12-23
相关资源
相似解决方案