Regular Expressions 101

Library entries

Grab double or single quoted text, escape aware

Vote

1

Regular Expression
pcre

/
^(['"])((?:\\.|(?!\1).)*+)\1$
/
gm

Description

Loading markdown...
Submitted by robin - 8 years ago