
Multi Rename Tool - changing the dots into spaces
Moderators: Hacker, petermad, Stefan2, white
Your solution works very well, except you lose the extension at the end. I guess I should have made my example file name "Filename.Divided.Into.Multiple.Bits.v1.80.plus.nonsense.exe" instead of just "Filename.Divided.Into.Multiple.Bits.v1.80.plus.nonsense". I wanted to get rid of the dot and the "nonsense" bit in the filename itself, but I want to keep the extension. Sorry for the confusion! 

2ymmv, that is probably not possible with the regular expressions built in in Total Commander. Unless one or more assumptions may be made. Can I assume the file name always contains a version number?
File names without ".v<number>" will have all dots removed from full file name (name incl. extension)
Image: http://img182.exs.cx/img182/5907/tc650multirenametoolexample002.png
Code: Select all
Search for: "\.((v)\.*((\d+\.)*\d+)[^.]*(\.[^.]*)*)?"
Replace with: " $2$3$5"
(enable RegEx)
Image: http://img182.exs.cx/img182/5907/tc650multirenametoolexample002.png
Last edited by white on 2005-02-01, 19:38 UTC, edited 1 time in total.