Regular Expressions 101

Sponsors

Library entries

Keep mutliple consective attributes

Vote

1

Regular Expression
javascript

/
<([a-z][a-z0-9]*)(?:[^>]*?((?:\s(?:src|href|style)=['\"][^'\"]*['\"]){0,3}))[^>]*?(\/?)>
/
ig

Description

Loading markdown...
Submitted by Ahmad Ahsan - 6 years ago