复制代码 代码如下:
<?php
$name = 'Today 3? , very/ cold';
$name = strtolower($name);
//$name = preg_replace('/[^a-z0-9/s]/','',$name);
$name = preg_replace('/[/./s+/?,//"]/','_',$name); //change spaces
echo $name;
?>
复制代码 代码如下:
$name = preg_replace('/[/./s+/?,//"]/','_',$name); //change spaces
新闻热点
疑难解答