Regular Expressions 101

Library entries

Get image tag attributes

Vote

4

Regular Expression
pcre

/
(?:(?i)(javascript|longdesc|src|alt|style|class|title|data\-[\w\-]+)\=\"([\w\s\#]+)?\")?
/
g

Description

Loading markdown...
Submitted by Agustín Bouillet - 6 years ago