Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
"((?:\\"|[^"])*)"
/
g

Description

Parses JSON keys and values between quotation marks, supports escaping the quotation marks by backspashes

Submitted by anonymous - 8 years ago