Regular Expressions 101

Community Patterns

regex to match html attribute with/without equal to and values

1

Regular Expression
ECMAScript (JavaScript)

/
\s*data-dcm-click-tracker[=|\s]([\\'"a-zA-Z0-9-]*)
/
g

Description

no description available

Submitted by anonymous - 8 years ago