title: Remove \n but keep \r\n intact
body: <p>I got a string with many line breaks. There are two types of them.
  \n and \r\n i want to keep the \r\n line breaks but i want to get rid of the \n ones. Is there any easy way of doing this? Am afraid if i use the replace method it would also affect my \r\n breaks.</p>
  
  <pre><code>string text = "This is a \ntext there should \nonly be one line break\r\n";
  
  var newtext = text.Replace("\n", "");
  </code></pre>
  
  <p>Here the output would be </p>
  
  <pre><code>newtext = "This is a text there should only be one line break\r"
  </code></pre>
  
  <p>How do i make this string to output "This is a text there should only be one line break\r\n" ?</p>