title: How to get only numbers from last parentheses?
body: <p>I need help with getting number from last parentheses in one string. My code take all number from string.</p>
  <p>This is my code:</p>
  <pre><code>$string = &quot;Mixing group (3pcs) (350) &quot;;
  echo (int)preg_replace('/(\D)/', '', $string);
  </code></pre>
  <p>This gives me result : 3350.</p>
  <p>But result need to be only number from last parentheses: 350.</p>