日期:2014-05-16 浏览次数:20585 次
$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]);