title: Extract 2 sets of numbers from a string using PHP's preg?
body: <p>Here's some PHP code:</p>
  
  <pre><code>$myText = 'ABC #12345 (2009) XYZ';
  
  $myNum1 = null;
  
  $myNum2 = null;
  </code></pre>
  
  <p>How do I add the first set of numbers from <code>$myText</code> after the <code>#</code> in to <code>$myNum1</code> and the second numbers from <code>$myText</code> that are in between the <code>()</code> in to <code>$myNum2</code>. How would I do that?</p>