http://qs321.pair.com?node_id=729481


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

/\..*?$/ won't work because it still matches off the first period - I thought of that one at first, too. The second expression(/\.[^.]+$/) works fine.