MRT: Remove anything between SxxExx and 1080p or 2160p

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
mouzzampk
Junior Member
Junior Member
Posts: 15
Joined: 2021-03-18, 14:20 UTC

MRT: Remove anything between SxxExx and 1080p or 2160p

Post by *mouzzampk »

Hi, I am not sure how but I am trying to find a solution to remove anything between SxxExx and 1080 or 2160p.

That's my format

Code: Select all

SeriesName.S01E01.Its.Time.to.Get.Out.of.Town.1080p.AMZN.WEB-DL.DDP5.1.H.264-GROUP.mkv
Thank you
User avatar
Gral
Power Member
Power Member
Posts: 1467
Joined: 2005-01-26, 15:12 UTC

Re: Remove anything between SxxExx and 1080p or 2160p

Post by *Gral »

Multi Rename Tool
e.g:
Search
(.+S\d\dE\d\d)(.+)(1080p.+|2160p.+)
Replace
$1$3

RegEx ON

-> http://gral.y0.pl/tc/Rename.png
mouzzampk
Junior Member
Junior Member
Posts: 15
Joined: 2021-03-18, 14:20 UTC

Re: Remove anything between SxxExx and 1080p or 2160p

Post by *mouzzampk »

Gral thank you so much for quick response :)

I'm just picking kids from school and will be back in 30 minutes. I will update you very soon.

You made it so easier I just cannot believe it.

Thank you
mouzzampk
Junior Member
Junior Member
Posts: 15
Joined: 2021-03-18, 14:20 UTC

Re: Remove anything between SxxExx and 1080p or 2160p

Post by *mouzzampk »

Gral wrote: 2021-03-26, 13:49 UTC Multi Rename Tool
e.g:
Search
(.+S\d\dE\d\d)(.+)(1080p.+|2160p.+)
Replace
$1$3

RegEx ON

-> http://gral.y0.pl/tc/Rename.png
Hi Gral,

I tried this and work flawlessly but I forgot to mention :) to keep dot. Is it possible to leave . in the filename after replace

Code: Select all

SeriesName.S01E011080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.mkv
mouzzampk
Junior Member
Junior Member
Posts: 15
Joined: 2021-03-18, 14:20 UTC

Re: Remove anything between SxxExx and 1080p or 2160p

Post by *mouzzampk »

I got it but I am not sure there will be a better way but I just added

Code: Select all

$1.$3
User avatar
Gral
Power Member
Power Member
Posts: 1467
Joined: 2005-01-26, 15:12 UTC

Re: Remove anything between SxxExx and 1080p or 2160p

Post by *Gral »

Search for:

Code: Select all

(.+S\d\dE\d\d\.)(.+)(1080p.+|2160p.+)
Replace with

Code: Select all

$1$3
Adding dot works too.
mouzzampk
Junior Member
Junior Member
Posts: 15
Joined: 2021-03-18, 14:20 UTC

Re: Remove anything between SxxExx and 1080p or 2160p

Post by *mouzzampk »

Thank you so much. Your so much better :)

Gral can I also ask in this post or create a new one please let me know.

Is it possible to rename multiple things in one go (.+S\d\dE\d\d\.)(.+)(1080p.+|2160p.+) to $1$3 and DD+ to DDP and H264 to H.264.

Thank you
Post Reply