Regular Expressions 101

Sponsors

Library entries

103
javascript

trim

trim string
Submitted by fp - 9 years ago

Quote Macthing with escape

Vote

24

Regular Expression
javascript

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

Description

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