Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(?:\G(?!^)|([^"]*(?:"[^,"]*"[^"]*)*"))[^",]*\K,([^",]*+(?:"(?1)|$))?
/
gm
Input 1
New
"test","this is, also a test","how could you test this?","h,i,j,k,"
Substitution
[COMMA]$2
"test","this is, also a test","how could you test this?","h,i,j,k,"