You are not logged in.
Pages: 1
Hi
I have a disk full of TV shows that are currently named Title 01x01 - episode.avi (with seasons 1 - 20 and episodes 1 - 30 etc)
The cataloger software I use want the file name to be Title - 01x01 - episode.avi etc
I cant work out how to insert the - after the title and before the 01x01 etc.
Any help would be appreciated.
Cheers
Ken
Offline
Hi Ken welcome.
FROM:
Title 01x01 - episode.avi
TO:
Title - 01x01 - episode.avi
I cant work out how to insert the - after the title and before the 01x01 etc.
You have to find an common pattern to delimiter the "title" from the "01x01"
Perhaps this:
( [Find one-or-more of any sign] ) TILL
( [two digits] followed by [x] followed by [two digits] followed by [ - ] and [one-or-more of any sign] )
So try this Regular Expression Rule (with test files!):
FIND: (.+) (\d\dx\d\d - .+)
REPL: $1 - $2
[X] Skip Extensions
See > http://www.den4b.com/wiki/ReNamer:Rules:RegEx
And always take care - make backups!
.
Read the *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)
Offline
Hi Stefan,
Brilliant works like a charm, I was trying to do a search on just the 01x01 with (\d\d)x(\d\d) and replace with - $1x$2
which worked 80% of the time but had a few problems with the rest didn't think of (.+) for the rest of the file name
it now works 100% thanks for you help.
Cheers
Ken
Offline
Pages: 1