Hi,
I'm doing a long-overdue cleanup of my music library before re-syncing it to my iPod and I'd like to clean up a lot of track titles but I'm really struggling to figure out the regular expressions for what I want to accomplish.
I'm trying to remove anything with "[year] Remaster[ed] [year]" with either () or [] in the titles, but I have no idea where to even begin!
Some example songs I would like to retitle:
-"Beethoven (I Love to Listen To) [2018 Remastered]" to "Beethoven (I Love to Listen To)"
-"Black Dog (Remaster)" to "Black Dog"
-"Dark Chest Of Wonders (Remastered)" to "Dark Chest Of Wonders"
-"Brainstorm (1996 Remaster)" to "Brainstorm"
-"Breaking Down Barriers (Remastered 2003)" to "Breaking Down Barriers"
I don't want to just remove all parentheses because that'll remove any subtitles; some example songs I would like to keep as they are, like if they have a subtitle, or year in the title:
-"2112: Overture / The Temples Of Syrinx / Discovery / Presentation / Oracle / Soliloquy / Grand Finale"
-"(She Was A) Hotel Detective"
-"Awake (2012 Version)"
-"Awake (2013 Version)"
So I'd like it to:
-Match "Remaster" or "Remastered" anywhere in the title
-Match years if they're remasters
-Remove any empty parentheses () or brackets [] this creates
-Skip any titles without some variation of "Remaster" in its title
I tried to match something along the lines of "[any year] [Remaster or Remastered [any year]" but i didn't really know what I was doing and messed up some titles and had to undo it.
I then attempted to use a regular expression tool online too but couldn't figure that out either.
I'm aware that even this will leave some tracks I have to manually hunt and peck at, but it'll be much easier to get through my 10,000+ track library with a lot of the chaff removed.
Can anyone help me with a regular expression (or set thereof) that will allow me to match and remove as much as I can? I'm happy to do this in several passes, I don't necessarily want a single expression that'll match everything, I just don't want to go through over 10k tracks manually because otherwise I will literally go insane lol.
I've always really struggled with regexp as I find it extremely confusing, especially as I have learning difficulties and concentration issues (thanks, unmedicated ADHD!).
Thanks in advance for any help I can get,
Maia
