I have been using this Action to switch a simple First Name Last Name to Last Name, First Name:
Replace with regular expression:
Regular Expression
^([^,]+)\s([^,]+)$
Replace with:
$2, $1
One reason why I use this is because it will not modify names already in the Last Name, First Name format. Ex: Brel, Jacques William remains Brel, Jacques William with the above action.
How can I modify it to work with trailing words behind a first and last name? So Alton Ellis & The Lipsticks would become Ellis Alton & The Lipsticks.
I have tired these variations that I saved:
Transform Artist from "A B" to "B, A" or "A B C" to "C, A B"
Ex: "John Smith" to "Smith, John" or "John Michael Smith" to "Smith, John Michael"
Regular Expression: (.*) (.*)
Replace with: \2, \1
Transform Artist from "A B C" to "B C, A"
Ex: "John Smith Jones" to "Smith Jones, John"
Regular Expression: (.?) (.)
Replace with: $2, $1
Transform Artist from "A B C" to "B, A C" where "C" is any suffix you like following a two word name
Regular Expression: (.?) (.) (.*)
Replace with: $2, $1 $3
But they neither suit my purposes or work. The last action should
work but I keep getting Alton Elli&, s The Lipsticks
In the end I want to incorporate this into the following action, which I use to convert names with multiple fields separated by a " / "
Artist 2 Album Artist AND Artist Sort; A B or Preposition A B to B, A, (Preposition to end) BOTH SPANISH & ENGLISH (Not affected by Forward Slash Does not affect Surname, 1st Name).mta (1.0 KB)