Search found 55 matches: repeated

Return to advanced search

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: 5197

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: 3034

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: 23597

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: 71222

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: 71222

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: 71222

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: 71222

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: 71222

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: 71222

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: 71222

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: 71222

Re: Removing Repeated Words

What I mean is that I understand what you mean, as in delete file name and rebuild it just without the duplicated words, but could you explain the steps a little further for someone that doesn't know Java script?
by chrisjg
Fri Jan 24, 2020 8:09 am
 
Forum: Javascript Renaming
Topic: Removing Repeated Words in File Names
Replies: 15
Views: 71222

Re: Removing Repeated Words

Thanks but I don't really understand any of that.

Sorry if I'm a bit of a newbie here but I am not that familiar with Java script and I don't have the commercial licence for BRU.
by chrisjg
Fri Jan 24, 2020 7:12 am
 
Forum: Javascript Renaming
Topic: Removing Repeated Words in File Names
Replies: 15
Views: 71222

Re: Removing Repeated Words

Can be done in Javascript in this way:

- split name in multiple words (separated by _)
- rebuild the name using the same words, use _ as separator, do not add a word if duplicate.
by Admin
Fri Jan 24, 2020 12:05 am
 
Forum: Javascript Renaming
Topic: Removing Repeated Words in File Names
Replies: 15
Views: 71222

Re: Removing Repeated Words

... not under a commercial license for BRU so I'm unable to utilise the java script options. I figured there must be a simpler method of removing repeated words from a filename by just using BRU out of the box since there's so many useful functions already at my disposal, I'm just not smart enough ...
by chrisjg
Thu Jan 23, 2020 7:06 am
 
Forum: Javascript Renaming
Topic: Removing Repeated Words in File Names
Replies: 15
Views: 71222
PreviousNext

Return to advanced search