Is there a way to use the multi-rename tool to replace the last space in a directory?
Example
From:
This is a directory from 1988
I would like to replace the last space
To:
This is a directory from-1988
I would like to replace the last-space
How to replace the last space in a directory?
Moderators: Hacker, petermad, Stefan2, white
Glad to help:)
It works simply. Regex uses greedy search mode by default, therefore first * finds as many characters as it can until the space (so it gets all previous spaces too). Second * just takes the rest, and braces define first and second subexpressions, which are used as parts or replace expression. You may read help topic about regex for more details.
It works simply. Regex uses greedy search mode by default, therefore first * finds as many characters as it can until the space (so it gets all previous spaces too). Second * just takes the rest, and braces define first and second subexpressions, which are used as parts or replace expression. You may read help topic about regex for more details.