Issue with losing Regex filters

Post any Bulk Rename Utility support requirements here. Open to all registered users.

Issue with losing Regex filters

Postby bigi » Tue Feb 03, 2026 12:57 am

I had this same problem with the replace section before and it was due to the variable type - so i suspect it's the same issue here!

I've got a large set of regex filters - including some additional comment lines (I've raised a request about this in the suggestions forum!)

these all work great and save fine - UNTIL i try and use another set of filters. for example, sometimes i wish to use the simple regex function to change the order of specific filenames - ie move the label number from the front of the string to the end etc. When i do this, it completely loses the normal regex list I have - the only way to deal with this is to reload a backup file again. In total i currently have 140 lines, as i'm using regex to try and simplify the replace section as i hit the limit on this a while ago and last post I think you were still trying to figure a way to extend the registry storage! I've included my regex list below - If you can help that would be great!

zzzzzzzzzz--this section handles the multiple replace for release groups---zzzzzzzzzz,
"(19[4-9]\d|20[0-1]\d|202[0-6])\-LOSSLESS(?:\-[\w?]{2,4})?$",($1)
xxxxxxxx Any variation of <YEAR>-LOSSLESS[<optional - followed by 2-4 characters>] xxxxxxx,
"(20[0-1][0-9]|202[0-6]|19[5-9][0-9])-[A-Za-z0-9]{2,4}\s*$",(\1)
xxxxxxxx any variations of <year>[- or space]<any 2-4 characters> [EOL] xxxxxxxx,
"zzzzz----- This section handles years/dates, ensures () round year and moved to end of string -----zzzzz",
"(?i)(\blive\b.*?\()(\d{4})([-/]\d{1,2}[-/]\d{1,2}\))",\1Y\2\3
"(?i)(\blive\b.*?\(\d{1,2}[-/]\d{1,2}[-/])(\d{4})(\))",\1Y\2\3
^(.*?)(\s*-\s*)(19[5-9]\d|20[0-2]\d)\s*-\s*(.*)$,\1\2\4 (\3)
\s(19[5-9][0-9]|20[0-2][0-9])\s*\[(CD|VINYL|WEB)\]\s*$,[\2] (\1)
(\b(19[5-9]\d|20[0-2]\d))-\d{2}-\d{2}\b,(\1)
"^(.*)\s\((19[5-9]\d|20[0-2]\d),\s*([^,]+),\s*\d*\s*(CD|VINYL|WEB)\)$",\1 (\2) (\3) [\4]
\[(19[5-9][0-9]|20[0-2][0-9])\]\s*$,(\1)
\(?([0-3][0-9])[-/]([01][0-9])[-/](19[5-9][0-9]|20[0-2][0-9])\)?\s*$,(\3)
([^\s])-(19[5-9][0-9]|20[0-2][0-9])(?!-\d{4})(?!\d)(?!.*(19[5-9]\d|20[0-2]\d))\s*$,\1-(\2)
([^\-])\s(19[5-9][0-9]|20[0-2][0-9])(?!-\d{4})(?!\d)(?!.*(19[5-9]\d|20[0-2]\d))\s*$,\1 (\2)
^(.*?)\s*(\((19[5-9]\d|20[0-2]\d)\))(.*)$,\1 \4\2
^(19[5-9]\d|20[0-2]\d)\s*-\s*(.*)$,\2 (\1)
^(19[5-9]\d|20[0-2]\d)\s+(.*)$,\2 (\1)
(?i)\s*-\s*(19[5-9]\d|20[0-2]\d)\s*$,(\1)
\((19[5-9]\d|20[0-2]\d)\)\s*\(\1\)\s*$,(\1)
Y(\d{4}),\1
"zzzzz----- This section handles specific release types; Ltd Edition, Promo, Remastered etc -----zzzzz",
(?i)(?:[\[\(-])?\bE[.\s]?P[.]?\b(?:[.\]\)])?,EP
(?i)(?<![\(\[\{])\bpromo\b(?![\)\]\}]), (Promo)
(?i)\bpromo\b,Promo
(?i)([\[\(]?)Limited\s+Edition([\]\)]?),(Limited Edition)
(?i)([\[\(]?)(Special\s+Edition)([\]\)]?),(Special Edition)
(?i)(\b\d{4}-\d{4})\s+remastered,\1 (Remastered)
(?i)(?<!\()(\b\d{4}\s+)?remastered(?!\)),(\1Remastered)
(?i)(?<!\()(\d{4}\s+)?deluxe\s+edition(?!\)),(\1Deluxe Edition)
(?i)\s*(?:-\s*)?(?:[\[\(]\s*)?Japanese\s+Edition(?:\s*[\]\)])?, [JPN Release]
(?i)(?<!\()(\d{4}\s+)?extended\s+edition(?!\)),(\1Extended Edition)
(?i)(?<!incl\.\s)(?<!\S)(?:\((\d{4})\s+Extended\s+Mix(es)?\)|(\d{4})\s+Extended\s+Mix(es)?|Extended\s+Mix(es)?)(?!\S),(\1\3Extended Mix\2\4\5)
(?i)^Various\s+Artists+\ ?-\ ?,
(?i)^Various\s++\ ?-\ ?,
(?i)^V\s?A\s?\s?-\s?,
(?i)single\b,
(?i)\bvolume\b\.?\s*(?=\d)|\bvol\.?\s*(?=\d),Vol.
"zzzzz----- This section handles file type specifics, flac/mp3/wav etc -----zzzzz",
(?i)(^|[ \-\[\(])flac([-\ \]\)]|$),
(?i)(^|[ \-\[\(])wav([-\ \]\)]|$),$1$2
(?i)(^|[ \-\[\(])mp\s?3([ \-\]\)]|$),$1$2
zzzzz----- This section handles bit rate or sample rate ----zzzzz,
"(?i)(?:^|[\s\-_,])(?:\(|\[)?\s*(16|24|32)[\s\-_]*(?:bits?[\s\-_]*)?(48|96|128|160|192|256|320)[\s\-_]*k?h?z?\s*(?:\)|\])?(?=[\s\-_,\)\]]|$)", ($1Bit-$2kHz)
"(?i)(?:^|[\s\-_,])(16|24|32)[\s\-_]*[Bb]i[Tt](?=[\s\-_,\)\]]|$)", ($1Bit)
"\((\d+Bit(?:-\d+kHz)?)\),",(\1)
zzzzz----- This section handles specific artist name punctuation/case -----zzzzz,
(?i)(?<![\(\[])\bBIXX\b(?![\)\]]),BiXX
(?i)(?<![\(\[])\bJSKA\b(?![\)\]]),JSKA
(?i)(?<![\(\[])\bC[eé]line\s+Dion\b(?![\)\]]),Céline Dion
(?i)(?<![\[])\babove\s+and\s+beyond\b(?![\)\]]),Above & Beyond
(?i)\babove\s+&\s+beyond\b,Above & Beyond
(?i)(?<![\(\[])\bDJ\s+X-?Tromic\b(?![\)\]]),DJ X-Tromic
(?i)(?<![\(\[])\bDJ\s+bj[oö]rn\b(?![\)\]]),DJ Björn
(?i)(?<![\(\[])\bD(.?)J(.?)\b(?![\)\]]),DJ
(?i)(?<![\(\[])\bsch[oö]neberg\b(?![\)\]]),Schöneberg
(?i)(?<![\(\[])\bC[Jj]\s+Arthur\b(?![\)\]]),CJ Arthur
(?i)(?<![\(\[])\btricky\s?dj\b(?![\)\]]),TrickyDJ
(?i)\bHel\s?sl[oOØø]wed\b,Hel Sløwed
(?i)(?<![\(\[])\bmacbeth\b(?![\)\]]),MacBeth
(?i)(?<![\(\[])\bo[\s']?callaghan\b(?![\)\]]),O'Callaghan
(?i)(?<![\(\[])\bTi[eë]sto\b(?![\)\]]),Tiësto
(?i)(?<![\(\[])\bgigi\s+d[\s']agostino\b(?![\)\]]),Gigi D'Agostino
(?i)(?<![\(\[])\bo'?commor\b(?![\)\]]),O'Commor
(?i)(?<![\(\[])\bo'?neil\b(?![\)\]]),O'Neil
(?i)(?<![\(\[])\bmcauley\b(?![\)\]]),McAuley
(?i)(?<![\(\[])\bmcandrew\b(?![\)\]]),McAndrew
(?i)(?<![\(\[])\bmclaren\b(?![\)\]]),McLaren
(?i)(?<![\(\[])\bmclaughlin\b(?![\)\]]),McLaughlin
(?i)(?<![\(\[])\bmc\s?neil\b(?![\)\]]),McNeil
(?i)(?<![\(\[])\bbasil\s?o'?glue\b(?![\)\]]),Basil O'Glue
(?i)(?<![\(\[])\bel\s?ni[nñ]o\b(?![\)\]]),El Niño
(?i)(?<![\(\[])\bjuan\s?almi[nñ]ana\s?obando\b(?![\)\]]),Juan Almiñana Obando
(?i)(?<![\(\[])\baly\s?(?:&|and)\s?fila\b(?![\)\]]),Aly & Fila
(?i)(?<![\(\[])\bp(\s/)?o(\s.)?s.?\b(?![\)\]]),P.O.S.
(?i)\bi(\s)?o\b,i_o
(?i) E - SET, E\-SET
zzzzz----- This Section handles punctuation and case on standard grammar -----zzzzz,
(?i)(?<![\(\[])\bwon'?t\b(?![\)\]]),Won't
(?i)\bcan(?:\s|’)?t\b,Can't
(?i)\bcan't\b,Can't
(?i)(?<![\(\[])\bdidn'?t\b(?![\)\]]),Didn't
(?i)(?<![\(\[])\bdoesn[\s']?t\b(?![\)\]]),Doesn't
(?i)(?<![\(\[])\bwasn'?t\b(?![\)\]]),Wasn't
(?i)(?<![\(\[])\baren'?t\b(?![\)\]]),Aren't
(?i)(?<![\(\[])\bthere'?s\b(?![\)\]]),There's
(?i)(?<![\(\[])\bisn'?t\b(?![\)\]]),Isn't
(?i)(?<![\(\[])\bain'?t\b(?![\)\]]),Ain't
(?i)(?<![\(\[])\bit'?s\b(?![\)\]]),It's
(?i)(?<![\(\[])\blet'?s\b(?![\)\]]),Let's
(?i)(?<![\(\[])\bi'?m\b(?![\)\]]),I'm
(?i)(?<![\(\[])\bi'?ve\b(?![\)\]]),I've
(?i)(?<![\(\[])\byou'?re\b(?![\)\]]),You're
(?i)(?<![\(\[])\bc'?est\b(?![\)\]]),C'est
(?i)\bdon(?:\s|’)?t\b,Don't
(?i)\bdon't\b,Don't
xxxx(?i)\bincl.?\b,Incl.
"xxxx\bIncl\.{2,}",Incl.
(?i)\bincl\.*(?=\s|$|\W),Incl.
"(?i)\bFLACX?\b[\s\-,]*",
"zzzzz----- This Section handles 3/7/10/12"" notation and changes to friendly notation -----zzzzz",
"12('{1,2}|""|(?i:inch(?:es)?))",12”
"(?i)10('{1,2}|""|inch(?:es)?)",10”
"(?i)7('{1,2}|""|inch(?:es)?)",7”
"(?i)3('{1,2}|""|inch(?:es)?)",3”
zzzzz----- This section handles special disc/label numbers - ZVxxxxx etc -----zzzzz,
[\ \_]?(ZV[0-9\w]*)$,\ (\1)
"(?<!\()(ZV[0-9A-Z]{1,12})(?!\))",(\1)
([A-Za-z0-9])(\(|\[),\1 \2
\(ANJ\d{3}\),$0
"zzzzz----- This section handles any occurence of ""CD"", only changing to [CD] when needed -----zzzzz",
(?i)(?<![\[\(])\bCD\b(?![\]\)])(?![\s\-]*\d), [CD]
(?i)\(\s*[2-9]\s*[-]?\s*CD\s*\),[CD]
(?i)(^|[ \-])[\[\(]?\s*([2-9])\s*CD[MSR]?[\]\)]?[\s\-]*(?!\d),\1 [CD]
(?i)(^|[ \-])[\[\(]?\s*CD[MSR][\]\)]?[\s\-]*(?!\d),\1 [CD]
xxx(?i)\(\s*CD\s*([1-9])\s*\),(CD\1)
(?i)\(\s*CD\s*([1-9])\s*\)(?!\d)(?![^\(\)]*\)),(CD\1)
\((VINYL|CD|WEB)\),[$1]
[\[\(](CD|WEB|VINYL)[\]\)][\[\(],[\1] (
zzzzz----- This section handles converting country release info from (FR Release) to [FR Release] -----zzzzz,
(?i)\(\s*(FR|UK|US|USA|CAN|NED|DE|JP|ES|IT|NL|AU|CA)\s+Release\s*\),[\1 Release]
zzzzz----- Ensures only a single occurence of specific phrases/punctuation in titles ----zzzz,
\[(CD|VINYL|WEB)\](?=.*\[\1\]),
"\){2,}",)
\)[\[\(],) (
(\))-,\1
(\)|\])(?=\w),\1
"\s{2,}",
"-{2,}", -
-|–,-
^\s+|\s+$,
\s*-\s*(?=[\(\[\{]),
"(?<=\w{2,})-(?=\w{2,})", -
\(\(([^()]+)\)\),(\1)
\[\[([^()]+)\]\],[\1]
\(\s*\),
\[\s*\],
\(\(([^()]+)\)\),(\1)
)(,) (
bigi
 
Posts: 29
Joined: Fri Nov 22, 2024 12:10 am

Return to BRU Support


cron