Page 1 of 1

How to capi

PostPosted: Sun Dec 12, 2021 3:49 am
by KTMer
I love BRU!
Thank you so much for creating it and keeping it free for personal use

I'm having trouble capitalizing audio file names
I've tried Case (4) Title, Title Enhanced, and Title with Exceptions
None do the job correctly
Can you help?

Using Title, all words including those that should not be capitalized are capitalized
https://imgbox.com/VGPal47t

Using Title Enhanced, ‘the, in file 0010 is not capitalized
https://imgbox.com/Ogfbr7nX

Using Title with Exceptions, ‘the, in file 0010 is not capitalized
https://imgbox.com/7gPzD8cp

Re: How to Capitalize Audio Files Correctly

PostPosted: Sun Dec 12, 2021 3:56 am
by KTMer
Subject line corrected
Also, don't see how to edit or delete forum entries

Capitalize first word coming after 1-or-more number-words

PostPosted: Sun Dec 12, 2021 11:21 am
by Luuk
Greetings from Vietnam! Its because the Title-Enhanced does only capitalize 'the' when its a first or last word.
But the numbers is making Title-Enhanced think that its really the second word, so not capitalizing properly.
If its me, Im just add the Regex(1) with a checkmark for "v2", so then using a 'Match' and 'Replace' like...
^((\d+ )+)(.)
$1|\U$3

This can capitalize any first-word that comes after 1-or-more leading number-words.
Regex(1) smuggles |The past Case(4) Title-Enhanced, so he wont convert it.
Then Remove(5) uses | inside of "Chars" after the smuggle is complete.

Re: How to capi

PostPosted: Mon Dec 13, 2021 6:38 am
by KTMer
Thanks Luuk
I appreciate the advice
Your suggestions worked great except BRU would not accept "|"
I substituted with "+" and all good
:D

Re: How to capi

PostPosted: Mon Dec 13, 2021 2:47 pm
by Luuk
The settings should all be conducted together in 1-rename, so there is not to worry about having "|" in the filename.
Im only used "|" because its illegal, but you can also use characters like ":" or anything else that not in the filenames.
Just not to forget, putting the character inside of Remove(5) for "Chars".