求网址过滤正则
cyr11 2010-09-15 10:47:25 如
$a=<<<html
<p align="left">漂亮的仿古电话,来自:http://fanggudianhuaji.phpzy.com/</p>
<p align="left"> </p>
<p align="left">客厅台灯 来自 :http://item.phpzy.com/item.htm?id=2943008467</p>
<p>纸巾桶http://item.phpzy.com/item.htm?id=5543848867墙贴(深圳)http://item.phpzy.com/item.htm?id=3967579110宝贝房墙贴http://www.phpzy.com/index.php?id=4487176328客厅窗帘http://item.phpzy.com/item.htm?id=5058351438主卧窗帘</p>
html;
我要过滤网址得到如下结果
<p align="left">漂亮的仿古电话,来自:</p>
<p align="left"> </p>
<p align="left">客厅台灯 来自 :</p>
<p>纸巾桶墙贴(深圳)宝贝房墙贴客厅窗帘主卧窗帘</p>
谢谢!