title: Regex multiple expression
body: <p>I've got the following structure:</p>
  
  <pre><code>&lt;ins rev="REV-NEU" editindex="0"&gt;
      &lt;insacc rev="c3ce7877-42bf-4c41-b3c0-fd225ccaf512"&gt;eins&lt;/insacc&gt;
      &lt;insacc rev="c3ce7877-42bf-4c41-b3c0-fd225ccaf512"&gt;zwei&lt;/insacc&gt;
      &lt;insacc rev="c3ce7877-42bf-4c41-b3c0-fd225ccaf512"&gt;drei&lt;/insacc&gt;
  &lt;insacc rev="c3ce7877-42bf-4c41-b3c0-fd225ccaf512"&gt;vier&lt;/insacc&gt;
  &lt;/ins&gt; 
  &lt;del rev="REV-NEU" editindex="1"&gt;eins&lt;/del&gt; 
  &lt;insacc rev="c3ce7877-42bf-4c41-b3c0-fd225ccaf512"&gt;fünf&lt;/insacc&gt;
  </code></pre>
  
  <p>With a regex I want to match the ins-tag with multiple insacc-tags (can be 1 or 20) inside.</p>
  
  <p>I tried it with the following regex, but it only matches the last insacc:</p>
  
  <pre><code>&lt;ins rev="[^&lt;]+" editindex="[^&lt;]+"&gt;(&lt;(insacc|deldec) rev="[^&lt;]+"&gt;([^&lt;]+)&lt;/(insacc|deldec)&gt;)+&lt;/ins&gt;
  </code></pre>