1、php 正则去掉 空格 $str='\n \n \n \n \nFactory Supply High Quality Maitake Mushroom Extract Powder Bulk\n \n Product Name\n '; $uuu=preg_replace(