title: How to replace recurring pattern with same delimitter to open and close the pattern?
body: <p>Searched all over to find out how to replace quoted values in Strings.
  (I expected this to be a common requirement!)</p>
  
  <p>Considered this simple example:</p>
  
  <pre><code>        String test1 = "This is a string with a \"dog\" and a \"cat\" that are unwanted.";
          System.out.println(test1);
          System.out.println(test1.replaceAll("\".*\"", "ZAPPED"));
  </code></pre>
  
  <p>produces:</p>
  
  <pre><code>This is a string with a "dog" and a "cat" that are unwanted.
  This is a string with a ZAPPED that are unwanted.
  </code></pre>
  
  <p>But I wanted:</p>
  
  <pre><code>This is a string with a ZAPPED and a ZAPPED that are unwanted.
  </code></pre>
  
  <p>I expected the pattern matching to stop at the second quote (at least in replaceAll()). </p>