Regular Expressions 101

Community Patterns

regex 1 or more json array

2

Regular Expression
PCRE (PHP <7.3)

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

Description

no description available

Submitted by me - 9 years ago