Regular Expressions 101

Community Patterns

Add quotes to a malformed JSON string

0

Regular Expression
ECMAScript (JavaScript)

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

Description

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