title: Remove CR LF from text file in c#
body: <p>I have a text file containing the following lines for example:</p>
  
  <p><img src="https://i.stack.imgur.com/Mpn9t.png" alt="example text file"></p>
  
  <p>I want to remove the CR LF only when the previous line contains a CR at the end. Via regex I can remove oall characters, but I can't build the condition to check the previous line.</p>
  
  <p>Can anyone help me?</p>