I need to split lines into parts in a big file (200MB-5GB) where lines looks like this
value1;value2;"value3;extra";value4;"value5;extra"
Line needs to be split by semicolon . Regular String.Split
does not work since semicolons can be inside of the quotes.
I think regular expression would work best here especially if file has millions of lines. I appreciate any guidance or code that would help me to split.
Update:
The result I want to see for the above sample line is
value1
value2
"value3;extra"
value4
"value5;extra"
Thank you