in reply to Collect numbers without the text
You can look at Regexp::Common, it already contains regexes that match numbers in various formats.