Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2017-05-08 12:09
Flavor·PCRE (Legacy)

/
(')([^:,]+?)(')([^:,]+?)(')(:|,)
/
g
Open regex in editor

Description

Escapes a single apostrophe in a json value, either before or after the ':'

Submitted by anonymous