Regular Expressions 101

Community Patterns

Image tags

1

Regular Expression
PCRE (PHP <7.3)

/
<img[^>]+\>
/
g

Description

Extract image tags from a HTML code

Submitted by anonymous - 4 years ago