character exchange

Advanced Renamer forum
#1 : 26/02-20 15:27
Claudio
Posts: 2
Hello everyone from Italy,
I have a problem:
I recovered a files that I had lost.
The recovery program has inverted the space < > with <_> and <_> with < > on all names.
What I would like to do is:
File Name -> New Name
Sample 1_2.txt -> Sample_1 2.txt
Sa mple_9.txt -> Sa_mple 9.txt
How can I do?
Thanks everyone for the help.
#2 : 26/02-20 23:35
Jorge Ducharme
Posts: 9
Reply to #1:
Replace "_" with "~" (or other unique character)
replace " " with "_"
replace "~" with " "

tested and it works..

it changed

in_dex 2.pdf --> in dex_2.pdf

edited: 27/02-20 23:31
#3 : 28/02-20 09:12
Claudio
Posts: 2
Reply to #2:
Ok thanks a lot .... I hadn't thought of that.
:)