title: How do I remove \r\n from string in C#?
body: <p>I am trying to figure out an easy way remove \r\n from a string.</p>
  
  <p>Example:
      text = "this.is.a.string.\r\nthis.is.a.string\r\n"</p>
  
  <p>I tried:</p>
  
  <p><code>text.Replace("\r\n", "")</code> and <code>text.Replace("\r\n", string.Empty)</code>, but it doesn't work. <code>\r\n</code> is still in the string...</p>
  
  <p>The result should be: "this.is.a.string.this.is.a.string"</p>