PHP获取img标签的src属性值 By admin | 2022-03-07 阅读次数: preg_match_all('/<img[^>]*?src="([^"]*?)"[^>]*?>/i',$str,$match); var_dump($match);