Regular Expressions 101

Library entries

Get text between quotes (ignore escaped ones)

Vote

-2

Regular Expression
pcre

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

Description

Loading markdown...
Submitted by Enissay - 7 years ago