in reply to Fetch numbers only

(my $number) = $text =~ /(\d+)/;