Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Regex help

by nemesdani (Friar)
on Sep 18, 2012 at 21:12 UTC ( #994368=note: print w/ replies, xml ) Need Help??

in reply to Regex help

^R\d\d\d\d\d$ means that you look for a line which contains nothing, but Rxxxxx. That's not whar you want, I think.

If the records are in separate lines, then use


$3 will contain whatever comes after =>.

I'm too lazy to be proud of being impatient.

Comment on Re: Regex help
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2015-11-26 00:49 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (695 votes), past polls