Regular Expressions 101

Community Patterns

Wrap word in json with quotes

0

Regular Expression
PCRE (PHP <7.3)

/
([^(),\{:\}\[\]]+[^(),\{:\}\[\]]*)
/
gi

Description

Wrap word in json with quotes

Submitted by anonymous - 2 years ago