Home  >  Article  >  Backend Development  >  php 正则婚配 url img

php 正则婚配 url img

WBOY
WBOYOriginal
2016-06-13 12:43:27768browse

php 正则匹配 url img
我现在要匹配一个url地址,如: php 正则婚配 url img 。我只想要src的url地址,还要匹配 php 正则婚配 url img ,有的是这种形式 php 正则婚配 url img src后面没有““”双引号,有的是单引号,而且alt和title有的 php 正则婚配 url img 标记中是没有的。请问各位这个正则怎么写呢?

PHP URL 正则 图片 url
Statement:
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