title: Regex.Matches c# double quotes
body: <p>I got this code below that works for single quotes.
  it finds all the words between the single quotes.
  but how would I modify the regex to work with double quotes?</p>
  
  <p>keywords is coming from a form post</p>
  
  <p>so </p>
  
  <pre><code>keywords = 'peace "this world" would be "and then" some'
  
  
      // Match all quoted fields
      MatchCollection col = Regex.Matches(keywords, @"'(.*?)'");
  
      // Copy groups to a string[] array
      string[] fields = new string[col.Count];
      for (int i = 0; i &lt; fields.Length; i++)
      {
          fields[i] = col[i].Groups[1].Value; // (Index 1 is the first group)
      }// Match all quoted fields
      MatchCollection col = Regex.Matches(keywords, @"'(.*?)'");
  
      // Copy groups to a string[] array
      string[] fields = new string[col.Count];
      for (int i = 0; i &lt; fields.Length; i++)
      {
          fields[i] = col[i].Groups[1].Value; // (Index 1 is the first group)
      }
  </code></pre>