Search found 59 matches: repeated

Return to advanced search

Re: Remove Duplicate Word from Names

See if these might work for you: Removing Repeated Words in File Names Batch remove duplicated word in folder/filename? Yes. I tried these. I replaced the _ by SPACE and this one removes the last word. newName=name.split('_').filter(function(item,i,allItems){ ...
by brunocalado
Wed Apr 14, 2021 10:51 pm
 
Forum: How-To
Topic: Remove Duplicate Word from Names
Replies: 6
Views: 12666

Re: Removing Repeated Words in File Names

Greetings. Im not can do with javascript, but changing the regex is much easier. The first customer wanted both words begin with "_" and also to keep the "_" but yours is only one "_" and also you consider the "_" is illegal, so I move the "_" outsid...
by Luuk
Fri Sep 18, 2020 8:28 am
 
Forum: Javascript Renaming
Topic: Removing Repeated Words in File Names
Replies: 15
Views: 130978

Re: Removing Repeated Words in File Names

I've stumbled across this thread as it's nearly exactly what I'm trying to do but cannot figure out how to get the RegEx to work. I have a file named July_July.zip and I want it to be July.zip I have the file selected in the window and then under RegEx (1) I put the code: Match: (.*)(_[^_]{2,})(_.*)...
by bmcelvan
Thu Sep 17, 2020 6:31 pm
 
Forum: Javascript Renaming
Topic: Removing Repeated Words in File Names
Replies: 15
Views: 130978

Re: Help: delete everything except (letters and numbers) only

... _+()?a-z0-9]*([- _+()?a-z0-9]*)[^- _+()?a-z0-9]* (.*) \1\2\3\4\5\6\7\8\9 Regex Notes: The regex is just ([- _+()?a-z0-9]*)[^- _+()?a-z0-9]* repeated 7-times , with a final (.*) to match everything-else. So it removes a max of 8 'special-character-strings' in filename, preseving only: Digits, ...
by RegexNinja
Sun Apr 19, 2020 12:56 am
 
Forum: Regular Expressions
Topic: Help: delete everything except (letters and numbers) only
Replies: 4
Views: 8428

How to change order of a six figure number somwhere

... that would do that, leaving the other files unchanged? If so, perhaps the next batch run could start at character 11, and this process would be repeated until every file had been changed. It would be laborious but better than nothing. I hope you can help.
by DGH
Tue Mar 24, 2020 11:18 am
 
Forum: How-To
Topic: How to change order of a six figure number somwhere
Replies: 1
Views: 4839

Re: Remove the second repetition of filename from the filename.

... phrases mid-name like 2nd-example ): PDF for dummies ... PDF for Dummies is all you need -------> PDF for dummies ... is all you need AAA any repeated phrase BBB Any Repeated Phrase CCC ----> AAA any repeated text BBB CCC AAA SomeVeryLongWord BBB someverylongword CCC -----------> AAASomeVeryLongWordBBBCCC ...
by bru
Sun Feb 09, 2020 7:01 pm
 
Forum: Javascript Renaming
Topic: Remove the second repetition of filename from the filename.
Replies: 5
Views: 36677

Re: Removing Repeated Words in File Names

... curious for the answer, so I came back to see it. For any regexers out there: (.*)(_[^_]{ 2 ,})(_.*)\2(.*) \1\2\3\4 Each BRU-run removes only 1 repeated 'word' of 2 -or-more chars, seperated by _ You can also run BRC-equivalents to remove more occurences per run: brc32 /Pattern:*_*.aiff /NoFolders ...
by bru
Sat Feb 01, 2020 7:55 am
 
Forum: Javascript Renaming
Topic: Removing Repeated Words in File Names
Replies: 15
Views: 130978

Re: Removing Repeated Words

Please email support, thanks
by Admin
Tue Jan 28, 2020 2:07 pm
 
Forum: Javascript Renaming
Topic: Removing Repeated Words in File Names
Replies: 15
Views: 130978

Re: Removing Repeated Words

Thanks. I don't really know how someone like me would ever know how to do that without spending my time trying to learn programming language first. I get you need to make money from the software somehow but it's a shame that I can't perform a one time basic function, which is for personal use, witho...
by chrisjg
Tue Jan 28, 2020 2:03 pm
 
Forum: Javascript Renaming
Topic: Removing Repeated Words in File Names
Replies: 15
Views: 130978

Re: Removing Repeated Words

Hi, no worries, we wrote the script anyway:

Code: Select all
newName=name.split('_').filter(function(item,i,allItems){
    return i==allItems.indexOf(item);
}).join('_');
by Admin
Tue Jan 28, 2020 1:40 pm
 
Forum: Javascript Renaming
Topic: Removing Repeated Words in File Names
Replies: 15
Views: 130978

Re: Removing Repeated Words

Thanks but I actually decided to do it all manually. I realise I can't afford a license right now as I'm working freelance so instead I just spent most of the last few days doing it all manually. I even tried to see if there was a way to filter all the files that appeared to have duplicate words in ...
by chrisjg
Tue Jan 28, 2020 11:03 am
 
Forum: Javascript Renaming
Topic: Removing Repeated Words in File Names
Replies: 15
Views: 130978

Re: Removing Repeated Words

thanks If you have a commercial licenses we can post a script for this functionality
by Admin
Tue Jan 28, 2020 1:03 am
 
Forum: Javascript Renaming
Topic: Removing Repeated Words in File Names
Replies: 15
Views: 130978

Re: Removing Repeated Words

Okay no worries, I'll purchase a commercial licence today.
by chrisjg
Fri Jan 24, 2020 8:32 am
 
Forum: Javascript Renaming
Topic: Removing Repeated Words in File Names
Replies: 15
Views: 130978

Re: Removing Repeated Words

Hi, we can post the script but you need a commercial license for using JavaScript in BRU, sorry.
by Admin
Fri Jan 24, 2020 8:16 am
 
Forum: Javascript Renaming
Topic: Removing Repeated Words in File Names
Replies: 15
Views: 130978
PreviousNext

Return to advanced search