Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Regex To Remove File Extension

by n3toy (Hermit)
on Dec 11, 2008 at 01:08 UTC ( #729573=note: print w/replies, xml ) Need Help??


in reply to Re^2: Regex To Remove File Extension
in thread Regex To Remove File Extension

Yours is a much better solution than my simple one.

Although my solution works for the example given, it does assume that all filenames are of the format provided in the original post and does not take into consideration the examples you provided.

Thanks for the feedback and great sample code!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://729573]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2017-02-27 21:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (393 votes). Check out past polls.