Regular Expressions 101

Community Patterns

csv file - fixture 1

0

Regular Expression
PCRE (PHP <7.3)

/
^(.*?,.*?)(,.*)$
/
gm

Description

surround a column with comma in data with double quotes

Submitted by anonymous - 3 years ago