正则过滤(正则表达式过滤数据)

lxf2023-12-08 02:50:02

复制代码代码如下:


$str=preg_replace("/\s+/", " ", $str); //过滤多余回车
$str=preg_replace("/