Need to swap two words that are within parentheses

Post any Bulk Rename Utility support requirements here. Open to all registered users.

Need to swap two words that are within parentheses

Postby tempguest » Wed Mar 07, 2018 1:59 am

How would I accomplish this.

From:
CityName (FirstName LastName)


To:
CityName (LastName, FirstName)
tempguest
 
Posts: 2
Joined: Wed Mar 07, 2018 1:53 am

Re: Need to swap two words that are within parentheses

Postby tempguest » Wed Mar 07, 2018 2:14 am

Figured it out myself.


Code: Select all
Match:
(.*) \((.*) (.*)\)
Replace:
\1 (\3, \2)
tempguest
 
Posts: 2
Joined: Wed Mar 07, 2018 1:53 am


Return to BRU Support