Page 1 of 1

removing repeated words in a title

PostPosted: Thu Jan 25, 2018 7:06 pm
by subongo
Hello. I have hundreds of files that have the first part of the name repeated.
I would like to shorten the name by removing the second part.
Here is an example of what I want to clear up and what I expect after clear up:

ElevatorButtons_____ElevatorButtons

After clean up:

ElevatorButtons

Re: removing repeated words in a title

PostPosted: Thu Jan 25, 2018 8:13 pm
by therube
Do all the files have the "_____" ?

Might be something here, Batch remove duplicated word in folder/filename?

Re: removing repeated words in a title

PostPosted: Thu Jan 25, 2018 10:47 pm
by subongo
Yes most do.
I have looked at the link but all the questions though related confuse me.
Roughly I think I need a formula that finds a split in the phrase and then removes second split (with the duplicate word) from the phrase.