Created
November 16, 2017 09:35
-
-
Save gravelld/a4888e55764ce0dc433e4fe6621f345c to your computer and use it in GitHub Desktop.
A custom rule to remove leading and trailing square brackets from genres. Easily adapted to apply to other tags.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rule trim_brackets with label "Trim square brackets" has alternatives | |
DEBRACKET { | |
find /^\[*([^\]]*)\]*$/ replace with "$1" | |
} | |
applies to genre |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment