Regular Expressions 101

Library entries

IMG w img src

Vote

0

Regular Expression
pcre

/
^\<img.*(?=.*src\s?=\s?('|")(.*(\.png|\.svg|\.jpg|\.jpeg|\.gif)[^"']*)('|")).*$
/
gm

Description

Loading markdown...
Submitted by anonymous - 3 years ago