Here's some PHP code:
$myText = 'ABC #12345 (2009) XYZ';
$myNum1 = null;
$myNum2 = null;
How do I add the first set of numbers from $myText
after the #
in to $myNum1
and the second numbers from $myText
that are in between the ()
in to $myNum2
. How would I do that?