Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Regex Issue

by bluesplay106 (Novice)
on Aug 01, 2013 at 15:45 UTC ( #1047477=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ==========
    Name: blah
    ID: 2
    ==========
    
  2. or download this
    while($regex =~ /=====.+?ID: 3.+?=====/igs) {
         print "$&\n";
    }
    
  3. or download this
    =========
    Name: Hi
    ID: 3
    =========
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1047477]
Front-paged by Arunbear
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2017-11-23 05:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (328 votes). Check out past polls.

    Notices?