Regular Expressions 101

Community Patterns

1...34567...902

Community Library Entry

2

Regular Expression
PCRE (PHP <7.3)

/
[,](?![^(]*\))
/
g

Description

This came up as a need for splitting a url param into an array ofr stings, where such a string may be a sublist contained within a bracket pair

Submitted by Martin Renvoize - 9 years ago