Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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?
[james28909]: i found a demo in the PDK samples, and it works there, so just need to figure out what im doing wrong.
[choroba]: Shouldn't you replace it with your app's name?

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2017-07-28 14:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (430 votes). Check out past polls.