php去除所有空格&nbsp、换行和html标签

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

猜你喜欢

转载自blog.csdn.net/u010991531/article/details/114329501
今日推荐