求助大家用php正则匹配链接地址,标题,和图片 php正则 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 $str =<<<str <a onclick="clickItemLink('193400209',this,'9124023729');" href="http://www.gome.com.cn/ec/rushbuy/limitbuy/itemdetail/includeDetail.jsp?limitBuyItemId=193400209" target="_blank" title="天绚春秋被(粉色)(200*230cm)国美自营,品质保障"><img alt="天绚春秋被(粉色)(200*230cm)国美自营,品质保障" src="http://img2.gomein.net.cn/image/prodimg/production_image/201308/22/1113370286/1000508089_210.jpg" width="210px;" height="210px;"></a>str;preg_match_all('/href=\"([^"]+)\"|title=\"([^"]+)\"|src=\"([^"]+)\"/',$str,$match);var_dump($match[0]); php学习交流群:18247901真诚期待您的加入~~ 求助解析php的xml 诚聘网站PHP工程师 是否能做到!!! 小弟有疑问? PHP程序能否 有 网页关闭事件 使用PHP空间中遇到的一个问题 在IIS6上用header的奇怪问题 关于乱码的问题. 如何在input value里插入php脚本 写库代码,求指导 PHP的NCR编码问题
<a onclick="clickItemLink('193400209',this,'9124023729');" href="http://www.gome.com.cn/ec/rushbuy/limitbuy/itemdetail/includeDetail.jsp?limitBuyItemId=193400209" target="_blank" title="天绚春秋被(粉色)(200*230cm)国美自营,品质保障">
<img alt="天绚春秋被(粉色)(200*230cm)国美自营,品质保障" src="http://img2.gomein.net.cn/image/prodimg/production_image/201308/22/1113370286/1000508089_210.jpg" width="210px;" height="210px;">
</a>
str;
preg_match_all('/href=\"([^"]+)\"|title=\"([^"]+)\"|src=\"([^"]+)\"/',$str,$match);
var_dump($match[0]);