php-去除空格

 

 1 $content = preg_replace("/(\s|\&nbsp\;| |\xc2\xa0)/","",$content); 

posted @ 2019-03-11 16:20  终究是乌云遮了天  阅读(645)  评论(0)    收藏  举报