QUOTE (PeroPano @ Oct 26 2011, 14:25)
... MP3Tag should consider only the characters before the slash. It does not make any sense at all to have the %TRACK% format string resolve to something like 321.
There is already some sense implemented.
If there is the value given "3/21" in the tag-field TRACK, then Mp3tag uses this value, why not?
So you can copy or append or prepend or insert this value to some other tag-field or put it into a text file by a Mp3tag report file.
When using the value "3/21" to create a file name or folder name, Mp3tag automatically removes such characters, which are forbidden to use for names in the file system, so the value will be changed to "321".
In the given limits you can control the validating to your own needs by using the function $validate
See Mp3tag manual.
See also ...http://forums.mp3tag.de/index.php?showtopi...ost&p=38673
On the other hand you can provide the tag-field TRACK without the total tracks part.
Simply use two separate tag-fields TRACK=3 ... and ... TOTALTRACKS=21.
Use function $num(<number>,<digits>) to format the track number ...$num(%TRACK%,2)
Use function $num(<number>,<digits>) to format the number of total tracks ...$num(%TOTALTRACKS%,2)
If needed, then build a format string of both components ...$num(%TRACK%,2)'-'$num(%TOTALTRACKS%,2)