Hello
I love mp3tag but I have a little problem.
I need to remove the first characters of the title in thousands of files.
Example:
1 - Track name
2 - Track name
I need to remove up to "# -" so that it remains:
Track name
Track name
Does anyone know if there is a way to delete a certain amount of characters at the beginning of the title?
Thanks for reading my query
see e.g. here:
This expression removes leading numbers, dots, hyphens and also space characters from the filename.
$regexp(%_FILENAME%,'^[\d.- ]+(.*)',$1)
Use it with "[Alt-1] Tag-Filename" or with an action "Format value".
DD.20090719.0747.CEST
Instead of _FILENAME use TITLE and instead of Tag-Filename Convert>Tag-Tag
jewahe
January 18, 2021, 4:24am
3
I tend to avoid regular expressions, because I find them confusing. And so I'd use a simple format value action with the $cutleft function (i.e., $cutleft(%title%,3) ). YMMV.
As there are so many ways that lead to Rome ...
You could also try an action of the type "Guess value"
Source: %title%
Target: %dummy% - %title%
jewahe:
$cutleft(%title%,3)
would leave a leading space if the data is "1 -"
So probably
$cutleft(%title%,4)
would yield the desired result.
poster
January 18, 2021, 6:51am
5
You never have tracknumbers with 2 digits?