php 过滤英文标点符号 过滤中文标点符号 代码
function filter_mark($text){ if(trim($text)=='')return ''; $text=preg_replace("/[[:punct:]\s]/",' ',$text);