I have a poorly formatted CSV file with carriage returns (\r\n) ending each row of data.
However, some text values, between commas, have new lines (\n). This makes reading the file problematic.
In Vim, how can I replace all "\n" that are alone, not part of "\r\n" with ""?
Example file appearance in Vim:
1,a,b,c^M
2,d,e,f^M
3,g
,h,i^M
4,j,k,l