$str = $arr['message'] = $message = '<img src="http://img.pconline.com.cn/images/upload/upc/tx/bbs6/1206/06/c2/11904888_1338977989250_0_1024x1024.png"/></p> 上世纪二三十年代<img name="LazyloadImg" class="img_link" src="http://img.pconline.com.cn/images/upload/upc/tx/bbs6/1205/17/c1/11651138_1337240963850_0_1024x1024.jpg"/><br/></font></div><font color="red">';preg_match_all("/\<img.+src=('|\"|)?(.*)(\\1)([\s].*)?\>/ismUe", $message, $image2, PREG_SET_ORDER);
$temp =  array();
if(is_array($image2) && !empty($image2)) {
foreach($image2 as $value) {
$temp[] = array(
'0' => $value[0],
'1' => trim($value[2])
);
}
}print_r($image2);上面是我写的正则,貌似提取不到图片路径,请高手帮我修改一下,获取字符串中的图片路径谢谢。