你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
搜索:
没有找到相关结果
匿名用户
赞同来自:
<?php $html = '...<p><img border="0" src="upload/202001/0000001.jpg" alt=""/></p>...<img src=upload/202012/0000009.png title=img/>...'; $reg = "#<img[^>]+src=(?:'|\")?([^>'\" ]+)#i"; preg_match_all($reg, $html, $match); print_r($match);
Array ( [0] => Array ( [0] => <img border="0" src="upload/202001/0000001.jpg [1] => <img src=upload/202012/0000009.png ) [1] => Array ( [0] => upload/202001/0000001.jpg [1] => upload/202012/0000009.png ) )
要回复问题请先登录或注册
1 个回复
匿名用户
赞同来自: