php去除字符串中的字母和数字和斜线

$str='348aksdfh<>?:"{}_+/dfg/';
$str=preg_replace('|[0-9a-zA-Z/]+|','',$str);

猜你喜欢

转载自blog.csdn.net/u013957017/article/details/79173339