Regular Expressions 101

Library entries

find img without alt

Vote

1

Regular Expression
pcre2

/
(<img(?!.*?alt=(['"]).*?\2)[^>]*)(>)
/

Description

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