Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Regex Matching Query

by m0skit0 (Initiate)
on Mar 25, 2013 at 21:15 UTC ( [id://1025391]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $file = "TEST SHOW S01E01";
    while($file =~ m/(.*?)(\d+)/i) {
    ...
        print "Show name: $show\n";
        $file = $';
    }
    
  2. or download this
    Show name: TEST SHOW S
    Show name: E
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-24 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found