My CSV file has following text:

```
a, b, 0, "0, 1, 2", ""ab cd", 5", 10

```

My regex:

```
aColumnValue = dataRow.split(",(?=([^\"]*\"[^\"]*\")*[^\"]*$)");

```

where aColumnValue is a String array.

This regex is failing since on the '"' before ab the regex closes and searches for the next token.

Please help find the correct regex.

The correct count of tokens should be: 6
and the actual tokens should be

```
a
b
0
0, 1, 2,
"ab cd", 5
10

```

Thanks in advance.