C# - Removing new lines in pipe-separated file : I have some files in CSV format, delimited with pipe.

I need every row of the file to be in one single line, but I have some files like this: 

    |0001|Some text|Some longer text that \n has new lines on it|1234

So, this means that the first row is now in two lines.

I'm talking about 5000 rows files that now have around 12000 lines.

I need to replace the `\n` in some columns of the file for just a space.

How can I do this in Microsoft C#?

   