Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

/(R\d\d\d\d\d)(.*)=>(.*)/

$3 will contain whatever comes after =>.

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2016-08-26 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (370 votes). Check out past polls.