I have a bunch of files that look like this:
A.File.With.Dots.Instead.Of.Spaces.Extension
I want to convert via regex to:
A File With Dots Instead Of Spaces.Extension
It must be in one regex (because I want to use it using the Total Commander package rename tool).
Help me, regular expression guru, you are my only hope.
Edit
Several people have suggested two-stage solutions. Two steps really make this problem trivial, and I really hoped to find a one-step solution that would work in TC. I was able, BTW, to find a one-step solution that works until there are an even number of points in the file name. So I still hope for the expression of a silver bullet (or proof / explanation of why this is absolutely impossible).
source share