Hi. I would like to modify the capitalisation of just part of a filename (not the entire filename).
I know that, if I want to modify the capitalisation of the entire string, I can do that using the Modify Capitalization action check box (usually Capitalize All Words in my case).
I have created many presets using the rename dialog. Most of them use Regular Expression Mode to find and select sections of the filename which match a given pattern. They then replace (add and/or remove) text.
The filenames I am currently working with contain character patterns like " - " or " {{", to make parsing (and pattern matching) easier.
They all start with the same string too, represented here by "ABC DEF".
The extension does not need to be modified.
DESIRED OUTCOME
This is an example / test case of what I'd like to achieve.
Note that only the first matched expression has its capitalisation modified (highlighted in bold).
Before:
ABC DEF - gH JKm - N12 P34 - Qr {{Stu Vwx}}.ext
After:
ABC DEF - Gh Jkm - N12 P34 - Qr {{Stu Vwx}}.ext
PROPOSED SOLUTION
NB: "[Title Case(\1)]" is pseudo code for "Capitalise All Words of matched pattern #1". It needs correcting.
Find (RegEx):
ABC DEF - (.*) - (.*)\.(.*)
Replace (RegEx):
ABC DEF -
[TITLE CASE(\1)] - \2.\3
As far as I remember, MusicBee can do this quite neatly.
Thanks in advance.
By the way, I have seen the script below (Dynamic Renamer), which may be an option, but:
(1) I'd prefer to use a RegEx pattern if the case modification option I'm seeking exists
(2) I'm not sure whether the script is still valid, as the last update to the post was in 2016, and the built in Rename Dialog has progressed so far since then