Regular Expressions 101

Community Patterns

Search for Array-Variables in PHP.

1

Regular Expression
PCRE (PHP <7.3)

/
\$([\w]+)\[('|")([^\W]+)('|")\]
/
g

Description

no description available

Submitted by Bert Bredewold - 8 years ago