Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
PCRE (PHP <7.3)

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

Description

csv parsing with content quota string

Submitted by Andrey - 10 years ago