replaced by mistake "VA" to "Various Artist"

Hi :slight_smile:

I have made a mistake and replaced ALL the "VA" to "Various Artist".

My Problem is mp3tag has renamed "VA" in the middle from other words too, something like this:

OLD Albumartist: blablavablabla
NEW Albumartist: blablaVarious Artistblabla

how can I restore my old Albumartist?

Try a Replace with regular expression action
Search pattern
(.)Various Artists(.)
Replace with
$1va$2

  1. Right after the erroneous action you should have invoke the menu option "Undo Format" [Ctrl+Z].
  2. You can use the action "Replace" and replace the string 'Various Artist' with 'va'.
  3. You can use the action "Replace using Regular Expression" and replace the string 'Various Artist' with 'va'.
  4. You can use the action "Format Value" with function $replace to replace the string 'Various Artist' with 'va'.
  5. You can use the action "Format Value" with function $regexp to replace the string 'Various Artist' with 'va'.
    Example: $regexp(%ALBUMARTIST%,'^(.+?)Various Artists(.+?)$','$1va$2')

DD.20131221.1247.CET

oh oh ... I have a lot of "va" now

What you need now is use a filter to find 'albumartist blablavablabla' and not just 'va'

F3 and type:

ALBUMARTIST MATCHES "\wVA\w"

There's no easy fix for you once you closed mp3tag because ctrl-Z would of prevented you from corrupting your files.

Next time when you want to replace exact single words tick like attached:


Thank you all :slight_smile: I will try this