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

Re^3: Regex Not Grabbing Everything

by Marshall (Canon)
on Sep 20, 2010 at 20:29 UTC ( [id://860931]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if (my @lines = grep{/^\d+.*\s*0\.00\s*$/}@data)
    change to:
    if (my @lines = grep{/^\d+.*\s*0\.00\s*$/..././}@data)
    
  2. or download this
    NAME DOE, JOHN           .....        ASG Y MOA MA01  MA18 
    12351141821118 .....     CO-18          31.00        0.00
    ...
    12351141821118 111809    CO-18         182.00        0.00
                                                    N347  
    ADJ TO TOTALS: PREV PD          INTEREST    ...      84.25
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-18 00:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found