$uuu = preg_replace("/(\s|\&nbsp\;| |\xc2\xa0)/", "", $str);
        return str_replace(' ', '', $uuu);

 

相关文章: