帝国cms过滤字符串中的标点符号代码:
function filter_mark($text){
if(trim($text)=='')return '';
$text=preg_replace("/[[:punct:]s]/",'
function filter_mark($text){
if(trim($text)=='')return '';
$text=preg_replace("/[[:punct:]s]/",'
更新时间:2024-03-29
阅读( 10 )
编辑:佚名