Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Question
- How can I convert "8/11" to "8" in the track field in Mp3tag?
- Answer
- Got it! If you want to keep the first number and remove the rest, here's how you can update your custom action in Mp3tag:
- 1. **Open Mp3tag** and select the tracks you want to edit.
- 2. **Click on "Actions"** in the top menu and choose **"Actions..."** from the dropdown list.
- 3. Select your previously created action group "Remove Track Numbers" and click on **"Edit"**.
- 4. Click on the existing action to highlight it and click on **"Edit"** to modify it.
- 5. Update the **"Regular expression"** box to `^(\d+)/\d+` to match the first number followed by a forward slash and another number.
- 6. In the **"Replace matches with"** box, enter `$1`, which refers to the captured first number.
- 7. Click OK to save the action.
- 8. Click OK again to save the action group.
- Now, when you apply this custom action, it should convert "8/11" to "8" and keep the first number.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement