I'd like to remove some spaces in my filenames but not all of them.
here's what i have :
- Dummy Band Name Whatever_Dummy Song Title.flac
- DUMMYBANDNAMEWHATEVER_Dummy Song Title.flac
Oh, and i also want to capitalize all characters before the undescore btw.
The closest result i got so far was using RegEx with :
Search : ( )(.*)_(.*)
Replace With : \U$2_\n$3
But of course, this only removes the first space. Plus it neither capitalize the 1st group. Here's the result :
- DummyBAND NAME WHATEVER_Dummy Song Title.flac
And i have no idea how to tell the MRT to remove not only the first but all non-continuous spaces before my underscore.
I tried to test and play with this part of the help... :
... but i really don't get how this is supposed to work, and maybe this doesn't apply for what i want to do at all ?Backreferences
\n Finds subexpression n another time in the search result.
Example: (.+)\1+ finds e.g. abab (where the first ab is found by .+ and the second by \1+ )
Last remark, i'd really like to achieve this through 1 pass only.
Thanks a lot for for your help.