title: Remove formatting on string literal
body: <p>Given the c# code:</p>
  
  <pre><code>string foo = @"
             abcde
             fghijk";
  </code></pre>
  
  <p>I am trying to remove all formatting, including whitespaces between the lines.</p>
  
  <p>So far the code</p>
  
  <pre><code>foo = foo.Replace("\n","").Replace("\r", "");
  </code></pre>
  
  <p>works but the whitespace between lines 2 and 3 and still kept.</p>
  
  <p>I assume a regular expression is the only solution?</p>
  
  <p>Thanks.</p>