J
Jim
I have strings that I need to get the first set of numbers from. IE:
ABC123DEF
ABC11JH8KLZ
I need to get 123 and 11 from the from the above strings. I can strip
the first characters off with =~ s/\D*//; but how do I strip off
everything else, even any additional numbers, after the first set of
numbers ends? Thanks!
J
ABC123DEF
ABC11JH8KLZ
I need to get 123 and 11 from the from the above strings. I can strip
the first characters off with =~ s/\D*//; but how do I strip off
everything else, even any additional numbers, after the first set of
numbers ends? Thanks!
J