TATMWTDIThere are too many ways to do it#2

The problem

<sniperd> looking to write a regex that strips out all periods, except for
the last one. ie, i have a string named perl.is.the.best.txt and I just
want perlisthebest.txt

- Freenode's #perl.

continued...
Copyright © 2005 Shlomi Fish