怎么正则出HTTP开头的JPG图片

WBOY
Release: 2016-06-13 11:36:44
Original
890 people have browsed it

如何正则出HTTP开头的JPG图片?
我使用 simple_html_dom.php, 只会找出HTTP开头的图片,如何再加一个JPG结尾的判断?

foreach ($html->find('img[src^="http"]') as $element) 
Copy after login
 

或者
哪位给写个 preg_match_all 所有 HTTP开头的JPG图片?谢谢。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template