Regular Expressions 101

Library entries

Match array parenthesis (without internal parentheses) and replace to square brackets

Vote

0

Regular Expression
pcre

/
(.*)(array\()([a-z=>'_ ]*)(\))(.*)
/
g

Description

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