Regular Expressions 101

Library entries

Finds HTML img tags

Vote

-2

Regular Expression
pcre

/
<img.*?src\s*=\s*("|')(?P<source>.*?)\1.*?>
/

Description

Loading markdown...
Submitted by Matt Solum - 8 years ago