#1 2021-09-01 20:47

GaryF
Member
Registered: 2021-09-01
Posts: 10

Get two parts and join together (Reorder: "E1 - 2 " -to- "E12 - ")

So, I have a folder with files in in a sequence and they take this format.

3rd RFTS - S02 E1 - 2 Jolly Old St Dick.mkv

But they should be written like this: 3rd RFTS - S02 E12 - Jolly Old St Dick.mkv

I've been trying for hours as I thought wildcards could do it but I'm not really sure how to use wildcards. I was trying Replace: 'E* - *' with 'E** - ' but clearly that's not how you use wildcards. But anyway without writing 1 rule for every file I can't see a way to do it.

Does anyone know how to achieve what I want? (I have literally thousands of these files hence the need to automate.)






Subject adjusted to better fit the content
Original: Can't find a way to rename something
Find me: switch find and replace swap order

Offline

#2 2021-09-02 07:05

GaryF
Member
Registered: 2021-09-01
Posts: 10

Re: Get two parts and join together (Reorder: "E1 - 2 " -to- "E12 - ")

It's fine I have sussed it out. smile

Offline

#3 2021-09-02 08:04

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: Get two parts and join together (Reorder: "E1 - 2 " -to- "E12 - ")

Great big_smile





And for others, one ways of doing this would be:

FROM:
3rd RFTS - S02 E1 - 2 Jolly Old St Dick.mkv
3rd RFTS - S02 E11 - 2 Jolly Old St Dick.mkv
3rd RFTS - S02 E1 - 23 Jolly Old St Dick.mkv

TO:
3rd RFTS - S02 E12 - Jolly Old St Dick.mkv
3rd RFTS - S02 E11 - 2 Jolly Old St Dick.mkv
3rd RFTS - S02 E1 - 23 Jolly Old St Dick.mkv

USE:
https://www.den4b.com/wiki/ReNamer:Rules:RegEx
Expression: (E\d) - (\d )
Replace: $1$2- (plus an trailing space)





You could also use e.g. "\d\d" or "\d\d\d" to match two or three digits, and so on.
Use "\d+" to match one-or-more digits, and "\d\d+" to match at least two, plus more....


 
 


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

#4 2021-09-02 13:23

GaryF
Member
Registered: 2021-09-01
Posts: 10

Re: Get two parts and join together (Reorder: "E1 - 2 " -to- "E12 - ")

Hmm this is not how I did it but I will certainly try this method.

I never thought to say but how I did it was simply using the "Insert" with "position" set to the appropriate position I wanted. It won't work for every set but it does the job for now.

I shall try your method next Mod thanks smile

Offline

#5 2021-09-02 13:55

GaryF
Member
Registered: 2021-09-01
Posts: 10

Re: Get two parts and join together (Reorder: "E1 - 2 " -to- "E12 - ")

This tool is by far the best on the market for me and it's never failed me over the years. I'm gonna go and find your page and pay for the pro version. I don't need it but the payment will show appreciation for an excellent program smile

Offline

#6 2021-09-02 16:18

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: Get two parts and join together (Reorder: "E1 - 2 " -to- "E12 - ")

GaryF wrote:

... I'm gonna go and find your page and pay for the pro version....



Thank you very much for your support.





http://www.den4b.com/compare






 


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

Board footer

Powered by FluxBB