title: How to remove newline characters from double quotes?
body: <p>I have a scenario like this:</p>
  
  <pre><code>"abcdef
   123sq
   gh"
  </code></pre>
  
  <p>should be rearranged as "abcdef 123sq gh".</p>
  
  <p>For this I used regular expressions and it works fine:</p>
  
  <pre><code>Match match = Regex.Match(myString, @""".*""", RegexOptions.Singleline);
  if (match.Success) {
    myString= myString.Replace(match.Value, match.Value.Replace("\n", ""));
  }
  </code></pre>
  
  <p>But this is not working for the scenario below:</p>
  
  <pre><code>"abc" "def"
  asdf123456
  "abc"
  </code></pre>
  
  <p>In the example above, it considers the first and last quotes and it returns the 3 lines as one.</p>