title: Regex pattern to choose data BETWEEN matching quotation marks
body: <p>Suppose I had the following string I wanted to run a Regular expression on:</p>
  
  <pre><code>This is a test string with "quotation-marks" within it.
  The "problem" I am having, per-se, is "knowing" which "quotation-marks"
  go with which words.
  </code></pre>
  
  <p>Now, suppose I wanted to replace all the <code>-</code> characters <strong>between the quotation marks</strong> with, say, a space. I was thinking I could do so with a regex looking as follows:</p>
  
  <pre><code>Find What:      (\"[^"]*?)(\-)([^"]*?\")
  Replace With:   $1 $3
  </code></pre>
  
  <p>The problem I'm having is that using this pattern, it does not take into account whether a quotation mark was opening or closing the statement.</p>
  
  <p>So, in the example above, the <code>-</code> character in <code>per-se</code> will be replaced by a space since it is between 2 quotation marks, but between a <strong>closing and an opening mark</strong> - When I specifically want to look within the text between an <strong>opening and a closing mark</strong>.</p>
  
  <p>How do you account for this in such a regular expression?</p>
  
  <p>I hope this makes sense.</p>
  
  <p>I'm using VB / C# Regex.</p>
  
  <hr>
  
  <p>Just to complete the question (and hopefully elaborate a bit more if necessary), the end result I would like to get would be:</p>
  
  <pre><code>This is a test string with "quotation marks" within it.
  The "problem" I am having, per-se, is "knowing" which "quotation marks"
  go with which words.
  </code></pre>
  
  <p>Thanks!!</p>