in reply to How do I extract the value from this string...?
Have a look at Regexp::Common::number.
regards, tomte
Hlade's Law:
If you have a difficult task, give it to a lazy person -- they will find an easier way to do it.