Removing characters from the "Title" tag

Hi, I need help. I've searched for this in this forum and there are many answers that didn't work for me.

I name my files like this before importing them to MP3Tag: 01 Song Name.

How do I create an action (or group of actions) to:

  1. Automatically assign Track number with a 0. (In the "Track" tag: 01, 02, 03...)
  2. Get the "Title" tag from the filename (In the "Title" tag: 01 Song Name, 02 Song Name..) and finally:
  3. Remove 3 characters from the beginning (In the "Title" tag: Song Name, Song Name...)

I have no idea how to do this. :frowning:
If someone could help me, I'd appreciate it.
Thanks in advance

Try
Convert>Filename-Tag
Format string: %track% %title%
or if you want to delete the numeric information:
Format string: %dummy% %title%

Thank you very much, @ohrenkino ,
I still would like to know how to make the three steps with actions, to make it with just one click.

Try an action of the type "Guess value"
Source string: %_filename%
Guessing pattern: %track% %title%

Hi, I'm on a Mac, these are the actions I can add, I don't have any "guess value" action :frowning:

Adjust Cover
Case conversion
Convert Codepage
Export Cover
Format tag field
Import Cover
Import tag fields
Import text file
Merge duplicate fields
Remove duplicate fields
Remove fields
Remove fields except
Replace
Replace with Regular Expression
Set Cover Properties
Split tag field

Thank you again

It would be "Import tag fields" for the Mac version.

Thanks a lot for your help, @ohrenkino but I'm at the starting point. I explained very clearly what I would like to do the first time I asked. That's exactly what I want to do, not something similar. Your answers don't help me to do exactly what I want to do. Thank you anyway.

I don't understand.
Doesn't the action "Import tag fields" put "01" (etc.) into TRACK and the rest of the filename into TITLE?

This action should do in 1 step what you described as 3 steps.

I would like to know how can I create an Action group with these three actions inside:

Action 1. Assign Track number with a 0 in front (I know there is an "Assign track and disc numbers" button, but I want this as an Action. This action is for the "Track" tag.

Action 2. Get the "Title" tag from the filename. This action is for the "Title" tag.

Action 3. Remove 3 characters from the beginning of the title given by the second action. This action is for the "Title" tag, too.

Thanks again and sorry to bother and sorry for the hassle.

See the documentation on how to create action groups:

Thank you, but I have already seen that and it doesn't help me at all if I don't know exactly which strings should I use.

According to your generic example, the track number already contains the leading zero, so no additional work is required there. Both the track and title exist in this example and only a single action is required to assign both field values in your task.

@ohrenkino has provided the correct guidance already other than the Action name difference between the Mac and Win versions.

On a MAC, the Action is IMPORT TAG FIELDS. (Note this is similar in the Win version to the GUESS VALUES Action)
Sourceformat: %_filename%
Formatstring: %track% %title%

Edited:
If your actual use cases do not always include the leading zero in the filename you can expand this with a separate Action for FORMAT TAG FIELD to add it afterwards.
Field: %track%
Format: $num(%track%,2)

When I use this action the resulting title tag is still "01 song name". I want that the two first numbers and the space disappear in the title tag.

Format tag field for TRACK
Format string: $num(%track%,2)

See previous posts about "Import tag fields"

Will not be necessary if you use
Guessing pattern: %track% %title%
To remove the leading number from TITLE try
Replace with regular expression for TITLE
Search pattern: ^\d+\s
Replace with:
(leave empty)

Can you post a screenshot of the action configuration you're using (with the corresponding filenames in the background)?

Are you mixing up the filename and title here? The source was _FILENAME, and takes the first part "01" and puts that in the TRACK field, then the first space is ignored, then all remaining text "song name" is put to the TITLE field. There is no change to the origianl source info in _FILENAME in this request.

The problem was that I was selecting the Source Format and Formatstring with the "+" button to the right, when I copied and pasted it from here, it worked. Thank you very much, to all of you. :raising_hands:

Excellent! Glad it's working now. If you use the + button, you'd still need to make sure to enter the characters that separate the individual fields, i.e., in your example, the blank between track and title.