Switch First and Last Names

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

Switch First and Last Names

Postby brelis » Sun Jun 25, 2006 2:30 pm

I have a huge column of file names.
Washington, George
Lincoln, Abe
Smith, John
etc.

I want to change them in bulk to:
George Washington
Abe Lincoln
etc.

Can this be done with BRU?
Thank you,
Brelis
brelis
 
Posts: 3
Joined: Sun Jun 25, 2006 1:04 am
Location: Seattle, Washington, USA

Postby Admin » Sun Jun 25, 2006 3:43 pm

Hi,

There's a perfect example in the help file, where it swaps "Program Files" to "FIles Program". There's also other examples in this forum.


Jim
Admin
Site Admin
 
Posts: 2351
Joined: Tue Mar 08, 2005 8:39 pm

Where is the expression to be put?

Postby brelis » Mon Jun 26, 2006 9:21 pm

I think I understand the notation but where do I put the two expressions on the BRU screen? I find that putting them in Repl. (3) "Replace/With" does not do it, i.e. nothing happens. For my simple example in my initial letter, I am using:

"(.+),\s(.+)" to be replaced by "\2 \1"

Note that the " are not used in the expression on the BRU screen but only shown here for clarity.

Regards, brelis
brelis
 
Posts: 3
Joined: Sun Jun 25, 2006 1:04 am
Location: Seattle, Washington, USA

Postby Admin » Mon Jun 26, 2006 9:22 pm

In the Regular Expressions boxes. The very first ones on the screen left hand side, beneath the "tree").


Jim
Admin
Site Admin
 
Posts: 2351
Joined: Tue Mar 08, 2005 8:39 pm


Return to BRU Support


cron