Find and Replace Question

I've organized all my mp3 tags for complete albums (as opposed to single tracks), by adding an "aa" at the beginning of the Sort Artist (value %albumartistsort%). I did that to force my complete albums to the top of the Artist list in my mp3 player.

So the Rolling Stones has the sort artist tag of "aaRolling Stones" and David Bowie has "aaBowie David" and Animal Collective has "aaAnimal Collective".

Now I want to get rid of this sorting structure. I'd like to do a Find-and-Replace all Sort Artists beginning with "aa" and return to them to nothing. Meaning David Bowie would now be "Bowie David".

How would I write an Action to do this for me?

Replace with regular expression action:

Field: %albumartistsort%
Replace: ^aa
With: LEAVE BLANK
[x] Check the Case-senstive comparision

It's good you asked becuase using the normal replace would of messed up your tags replacing aa anywhere in the string of the TAG.

Baan > Would end up > Bn

So the reg exp with ^aa only affects the starting point of the string like you want.

Thanks for the help, but it's not working. Do I need any wildcard characters after the "^aa"?

no wildcards.
Did you use "Replace with regular expression" or just "Replace"? It should be the first type of action.

You only want to find aa at the start of the string, not in the middle.

And then replace with nothing.

No need to do wildcards.

Use Replace with, regular expression, not replace action. Read my 1st post again.