Regular Expressions 101

Community Patterns

Split String with Groups

1

Regular Expression
PCRE (PHP <7.3)

/
("[^"]*"|[^:]+)
/
g

Description