E-books folders, revers first name, lastname

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

E-books folders, revers first name, lastname

Postby ErpCity » Mon Dec 17, 2012 2:39 pm

Hello,

Absolutely a fabulous utility!
Helas, I could not find a solution for the following:

Long list of E-book folders with the name of the writer (in the folder the files with the books)
The folders are named: first name (space) lastname, e.g. John Doe, Oscar Wilde, but also J.K. Rowling
For obvious reasons I would like to change the order to last name (space) first name: Doe John. Wilde Oscar, Rowling J.K.
Could not find the solution...

Can somebody please help me here?
ErpCity
 
Posts: 2
Joined: Mon Dec 17, 2012 2:07 pm

Re: E-books folders, revers first name, lastname

Postby Admin » Thu Dec 27, 2012 12:55 am

Hello, try this:
http://www.bulkrenameutility.co.uk/forum/viewtopic.php?f=3&t=1598
Admin
Site Admin
 
Posts: 2354
Joined: Tue Mar 08, 2005 8:39 pm

Re: E-books folders, revers first name, lastname

Postby ErpCity » Thu Dec 27, 2012 9:28 pm

THANK YOU, you are a hero!

And a lot of thanks to Stefan, who gave this perfect solution!
My problem is solved!

USE:
RegEx(1)
Search: (.+)( - )(.+)
Replac: \3\2\1
[ ] Include Ext. un-checked

(.+)( - )(.+) ===> match: (one-or-more of any sign) till (space dash space) followed by (one-or-more of any sign)
\3\2\1 =======> replace with what is matched inside third (...), then second (...), then first (...)
ErpCity
 
Posts: 2
Joined: Mon Dec 17, 2012 2:07 pm


Return to BRU Support