Is there a way to match and substitute at the same time?

I have an html table where each row contains 11 columns of numbers.

Unfortunately all the numbers have commas separating the thousands, millions, 
etc.

To find the number I need to match against [\d,].

What I really want is the capture array or $1, $2, $3, etc. to be free of 
commas, all done in the matching step.

Any ideas?
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to