#1 2025-07-21 23:54

Lauraq
Senior Member
Registered: 2016-10-02
Posts: 108

Move year to the beginning and delete the rest

Hi:)

Is it possible to move the year to the beginning of the title and remove everything after it?
Basically, tell the Renamer that if there are four consecutive numbers, it should move them to the beginning, for example:

King.Of.New.York.1990.ITA.1080p.AMZN.WEB-DL.x264-UBi

to

1990 - King.Of.New.York

Thanks smile

Offline

#2 2025-07-22 11:04

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,491

Re: Move year to the beginning and delete the rest

You can do this with the Regular Expressions rule.

Expression:

\A(.*?)\b(\d{4})\b.*

Replace:

$2 - $1

And then tidy up the dots with other rules.

Offline

#3 2025-07-22 11:54

Lauraq
Senior Member
Registered: 2016-10-02
Posts: 108

Re: Move year to the beginning and delete the rest

Perfect, thanks! smile

Offline

Board footer

Powered by FluxBB