Advertisement
Jexal

a3d8efec-5fa7-494e-ae78-a9408c48f444

Mar 10th, 2025
6
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. Question
  2. How can I convert "8/11" to "8" in the track field in Mp3tag?
  3.  
  4. Answer
  5. 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:
  6.  
  7. 1. **Open Mp3tag** and select the tracks you want to edit.
  8. 2. **Click on "Actions"** in the top menu and choose **"Actions..."** from the dropdown list.
  9. 3. Select your previously created action group "Remove Track Numbers" and click on **"Edit"**.
  10. 4. Click on the existing action to highlight it and click on **"Edit"** to modify it.
  11. 5. Update the **"Regular expression"** box to `^(\d+)/\d+` to match the first number followed by a forward slash and another number.
  12. 6. In the **"Replace matches with"** box, enter `$1`, which refers to the captured first number.
  13. 7. Click OK to save the action.
  14. 8. Click OK again to save the action group.
  15.  
  16. 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