With just one line of code, all the pictures of the string can be taken out. Friends in need can simply refer to it.
代码如下 |
复制代码 |
preg_match_all('/
|
http://www.bkjia.com/PHPjc/631680.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/631680.htmlTechArticleWith just one line of code, all the pictures of the string can be taken out. Friends in need can simply refer to it. one time. The code is as follows Copy the code preg_match_all('/img(.*?)src=(.*?)(?=...