Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: RegEx is required for the below pattern

by hbm (Hermit)
on Sep 28, 2011 at 14:13 UTC ( [id://928339]=note: print w/replies, xml ) Need Help??


in reply to RegEx is required for the below pattern

Like this?

my $file = '/tom/john/jones/fredy/sam-joe/Install-xyz-opq.zip'; $file =~ s|^.*/||; # delete up to and including the rightmost '/' if ($file eq "Install-xyz-opq.zip") { ...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2024-04-16 09:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found