Moving text in a filename

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

Moving text in a filename

Postby mamaijee » Sun Apr 10, 2016 5:03 pm

I had put the below in Regex section but guess it was the wrong place, so am requesting on this section for help. I tried downloading Regex Coach but it seemed like greek to me without any background of the same :)

I need to rename a lot of filenames where the series name in brackets at the end has to come before the name of the cookbook

eg
Nina Rhodes - No Effort Baking (Baker's Special 1).mobi
should read as below with bracket change() to []
Nina Rhodes - [Baker's Special 1] - No Effort Baking

Any help with regex will be very appreciated. If there is some way It can be fone from main BU main screen that would be great too. I am using Ver 3.0.0.1

Thank u
mamaijee
mamaijee
 
Posts: 33
Joined: Sat Apr 30, 2011 5:17 am

Re: Moving text in a filename

Postby Admin » Mon Apr 11, 2016 1:08 am

Hi , can you post 3 or 4 examples of from / to name please?
thanks
Admin
Site Admin
 
Posts: 2351
Joined: Tue Mar 08, 2005 8:39 pm

Re: Moving text in a filename

Postby mamaijee » Tue Apr 12, 2016 8:17 pm

Admin wrote:Hi , can you post 3 or 4 examples of from / to name please?
thanks


FROM: Jane Lister - Refried Beans and Corn (Fervour with Beans 8)
TO: Jane Lister - [Fervour with Beans 8] - Refried Beans and Corn

FROM: Ina Garten - Sausage Egg Casserole (Breakfast Special 1)
TO: Ina Garten - [Breakfast Special 1] - Sausage Egg Casserole

FROM: Jamie Oliver - Best Ever Roasted Potatoes (Happy Xmas 2)
TO: Jamie Oliver - [Happy Xmas 2] - Best Ever Roasted Potatoes

FROM: Damn Delicious - Salmon Kabobs (Asian Wonders 5)
TO: Damn Delicious - {Asian Wonders 5) - Salmon Kabobs

Thank u so much
mamaijee
mamaijee
 
Posts: 33
Joined: Sat Apr 30, 2011 5:17 am

Re: Moving text in a filename

Postby therube » Wed Apr 13, 2016 3:40 am

(again, just guessing...)


RegEx:1
Code: Select all
Match: (.*) - (.*) (\(.*)
Replace: \1 - \3 - \2


And then go back in afterwards Replace ( With [, & ) With ]


Edit, instead:

Special:14, Character Translation

Code: Select all
(=[
)=]
therube
 
Posts: 1317
Joined: Mon Jan 18, 2016 6:23 pm

Re: Moving text in a filename

Postby mamaijee » Sun Apr 17, 2016 3:53 am

therube wrote:(again, just guessing...)


RegEx:1
Code: Select all
Match: (.*) - (.*) (\(.*)
Replace: \1 - \3 - \2


And then go back in afterwards Replace ( With [, & ) With ]


Edit, instead:

Special:14, Character Translation

Code: Select all
(=[
)=]


Thank you very much. It worked. U have saved me a ton of time.
All the best
mamaijee
mamaijee
 
Posts: 33
Joined: Sat Apr 30, 2011 5:17 am


Return to BRU Support


cron