Regular Expressions 101

Community Patterns

Matching values between square brackets

0

Regular Expression
PCRE (PHP <7.3)

/
\[([^,\]]+),([^,\]]+)\]
/
g

Description

no description available

Submitted by Marius Schulz - 10 years ago