in reply to
Re: extracting number from string
in thread
extracting number from string
For the general case, I'd replace
m{(\d+\.\d+)}
with
m{(\d+\.?\d+)}
, just in case a period is not specified in the price.
Comment on
Re^2: extracting number from string
Select
or
Download
Code
In Section
Seekers of Perl Wisdom