Regular Expressions 101

Community Patterns

Add quotes to a malformed JSON string

0

Regular Expression
ECMAScript (JavaScript)

/
(")?([^{:"]+)(")?(: )(")?([^,}"]+)(")?(, |}+)
/
g

Description

Loading markdown...
Submitted by anonymous - 8 months ago