style="float:left; width:8px; height:8px;margin-left:17px;margin-right:
15px;margin-top:3px;">
title="ABCDEFG"target="_blank">ABCDEFG
(2017-07-16)15px;margin-top:3px;">
title="ABCDEFG"target="_blank">ABCDEFG
主要想获取title 和链接
主要想获取title 和链接
用正则抓取图片链接
$subject = '
if(preg_match($pattern, $subject,$matchs)){
dump($matchs);
}else{
echo 'no';
}
结果:array(2) {
[0] => string(30) "
[1] => string(19) "/images/jiantou.jpg" //捕获的链接
}