I have a String and a Regex.
the string will look like DH18
and I have my regex ([a-zA-Z]*)([0-9]*) which splits up the letters and the words
I only want the digits, so that which is contained in the second curly brackets. How do I go about referencing this.
I want a statement like
if ($1 == 18)
blah;