Regular Expressions 101

Library entries

Find CSS Class with ability to replace

Vote

0

Regular Expression
javascript

/
(class=(\\?(?:"|'){1,2})(?:[-a-z0-9 ]* )?)success(?=\2|\s)
/
gi

Description

Loading markdown...
Submitted by Matthew (@sirlancelot) - 7 years ago