Community Patterns

Community Library Entry

1

Regular Expression
Created·2013-09-07 18:18
Flavor·PCRE (Legacy)

/
(["'])((?:\\\1|(?!\1).)+)\1
/
g
Open regex in editor

Description

Get everything inside single/double quotes and ignoring escaped ones

Submitted by Jerry