I have the a text file as follows:

```
"0","Column","column2","Column3"

```

I have managed to get the data down to split to the following:

```
"0"
"Column"
"Column2"
"Column3"

```

with `,(?=(?:[^']*'[^']*')*[^']*$)`, now I want to remove the quotes. I have tested the expression `[^\s"']+|"([^"]*)"|\'([^\']*)` an online regex tester, which gives the correct output im looking for. However, I am getting a syntax error when using the expression:

```
String[] columns = Regex.Split(dataLine, "[^\s"']+|"([^"]*)"|\'([^\']*)");

```

> 
> Syntax error ',' expected
> 
> 
> 

I've tried escaping characters but to no avail, am I missing something?

Any help would be greatly appreciated!

Thanks.