Script for replacing period character

Hi there. I have a script that performs a general file name cleanup.
replaces _ with a space.... etc

A question, how would i go about replacing the periods from a file name like
some.silly.filename.here.txt and keep the .txt in tact?

Andrew.

nevermind.... i just used this one with a tiny bit of tweaking instead.
[Titlecase)

If you use Find And Replace to replace dots with spaces Dopus will actually leave the file extension alone. Very practical.