Need Help RegEx with Movie Titles

A swapping-ground for Regular Expression syntax

Need Help RegEx with Movie Titles

Postby scrffybear80 » Fri Jun 22, 2018 12:01 am

Hoping someone can help with renaming a movie title with RegEx in Bulk Rename Utility

Trying to move the "The" to the end of the movie title, but before the year.

Example:
The Next Best Thing (2000)

Would like to change to:

Next Best Thing, The (2000)
scrffybear80
 
Posts: 1
Joined: Thu Jun 21, 2018 11:53 pm

Re: Need Help RegEx with Movie Titles

Postby therube » Fri Jun 29, 2018 3:32 am

Try this:

1:RegEx
Code: Select all
Match:  (^The )(.*?)(\(\d\d\d\d\)$)
Replace:  \2, \1\3


That's actually not quite right... gotta go...
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm


Return to Regular Expressions


cron