jithu_indian has asked for the wisdom of the Perl Monks concerning the following question:

<td>BISetup.exe =&gt; 62.9 MB (65,986,686 bytes)<br /> BISetup.bin =&gt; 87.4 MB (91,714,758 bytes)<br /> BISetup.bin =&gt; 88.5 MB (92,861,638 bytes)<br /> SilentInstaller.zip =&gt; 35.3 MB (37,082,504 bytes)<br /> Upgrade.zip =&gt; 1.23 MB (1,290,580 bytes)</td>
From the above line I just want to extract the values example : I want to extract this one 92,861,638 and want to remove the ',' character after that it should be display like '92861638' like this .. Please help me monks...

20090318 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips

Replies are listed 'Best First'.
Re: extract a number from a line.
by moritz (Cardinal) on Mar 18, 2009 at 08:49 UTC
    What have you tried? perlretut should give you a start...
Re: extract a number from a line.
by ELISHEVA (Prior) on Mar 18, 2009 at 09:14 UTC

    Perl Monks is for learning about Perl - it is not a code writing service. You are more likely to get help with your question if you make your best attempt to write some sample code, compile it, run it, and show us both the code and your output. Then we can see what concepts you are struggling with and provide appropriate help.

    Best, beth

Re: extract a number from a line.
by Anonymous Monk on Mar 18, 2009 at 09:46 UTC