[转载]PHP 字符串替换中文时间:2023-03-10 06:55:11 $a = "Car 神"; $result = preg_replace('/([\x80-\xff]*)/i','',$a); var_dump($result); 参考链接:php字符串去掉中文