Regular Expressions 101

Community Patterns

106

trim

ECMAScript (JavaScript)
trim string
Submitted by fp - 10 years ago
4

url

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 9 years ago

Quote Macthing with escape

25

Regular Expression
ECMAScript (JavaScript)

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

Description

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