Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Regex Question in Perl

by ikegami (Patriarch)
on Dec 22, 2010 at 18:29 UTC ( [id://878627]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $page2 = "Account number 12345678";
    
    if ( my ($acct) = $page2 =~ /Account number (.*)/ ) {
       print "acct = $acct\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://878627]
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-04-18 18:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found