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 and keep the .txt in tact?


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

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