Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Extracting string from a file

by RMGir (Prior)
on Nov 11, 2013 at 13:02 UTC ( #1061987=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    /\|TOTAL\s+([0-9.]+)%\s+([0-9.]+)/
    
  2. or download this
    perl -e'$_="~|TOTAL 24.1% 0.4%"; /\|TOTAL\s+([0-9.]+)%\s+([0-9.]+)/ &&
    + print "Matched, $1 $2\n"'
    Matched, 24.1 0.4
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1061987]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-09-17 21:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (99 votes), past polls