摘要: function delhtmltags($string){$string = preg_replace("'([\r\n])[\s]+'", "", $string); //去掉空白字符 $string = preg_replace("'&(quot|#34);'i", "", $string); //替换HTML实体 $string = preg_replace("'&(amp|#38);'i", "", $ 阅读全文
posted @ 2012-10-29 11:00 博尔特希 阅读(903) 评论(0) 推荐(0)