I have a csv file contains columns with value '\\\n' and '\\\t' which is escaped new line and tab. However, i want to split each row into string array.
how to split specifically '\n' but not '\\\n'?
I am looking at Regex.Split is it right direction? I tried Regex.Split(input, @"[^\\]\n"); but the result seems correct but one character in front is always missing, supposedly is caused by [^\].
\ras well?