Regular Expressions 101

Library entries

Quote Macthing with escape

Vote

23

Regular Expression
javascript

/
(["'])((?:(?=(?:\\)*)\\.|.)*?)\1
/
gm

Description

Loading markdown...
Submitted by Vihan Bhargava - 7 years ago