Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: regular expression for getting text between 1. and 2.

by hippo (Bishop)
on Apr 12, 2013 at 14:34 UTC ( [id://1028384]=note: print w/replies, xml ) Need Help??


in reply to regular expression for getting text between 1. and 2.

$line =~ /^1[.)](.*)2[.)]$/;

Is that what you meant?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-05-22 15:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found