Regular Expressions 101

Library entries

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

Vote

1

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by anonymous - 5 years ago