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!
I make decisions, and my brain carries them out
My brain makes the decisions, and I observe them (if I'm lucky)
I make some decisions, and my brain makes others
My spouse makes decisions and I and my brain carry them out
I wrote a program to relieve me and my brain from the burden of decision-making
The black-helicopter people project the decisions into my brain and then I do as ordered
Results (475 votes),