Quote:
Originally Posted by Tanjamuse
Code:
category=>Percy Jackson and the Olympians & Related Fandoms - All Media Types$=>Percy Jackson & The Olympians
|
This one I admit is rather obscure. The
& is actually
& because of xhtml entities. The same thing happens with
<(
<)
>(
>).
So this works:
Code:
category=>Percy Jackson and the Olympians & Related Fandoms - All Media Types$=>Percy Jackson & The Olympians
But I suggest instead considering:
Code:
category=>.*Percy Jackson.*Olympians.*=>Percy Jackson & The Olympians
That will catch
everything that contains 'Percy Jackson' and 'Olympians' in that order without regard to what appear before, between or after those strings.
@thatblondelady: Good guess about the regex escaping, but
& isn't a regex special character. They are:
[\^$.|?*+()
I'm adding something to the
wiki page about replace_metadata about this.