#1 2018-03-13 02:29

Alloneword
New Member
Registered: 2018-03-13
Posts: 2

Removing text after episode numbers

My current renaming app cannot do what i want so i'm on the lookout for something new.

If for example i had a tv show called the following
"It's Me - S01E00 - Pilot"
"It's Me - S01E01 - At The Start"
"It's Me - S01E02 - On Our Hols"

etc etc can this app remove everything after the episode numbers so it would look like this:
"It's Me - S01E00"
"It's Me - S01E01"
"It's Me - S01E02"

Last edited by Alloneword (2018-03-13 04:12)

Offline

#2 2018-03-13 09:20

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

Re: Removing text after episode numbers

Hi and welcome.

Try that...


FROM:
It's Me - S01E00 - Pilot.ext
TO:
It's Me - S01E00.ext


Rule in plain English:
Match [everything] till [space hyphen space] followed by an 'S', two digits, an 'E', two digits, drop the rest.


ReNamer RegEx Rule
Express: ^(.+ - S\d\dE\d\d).+$
Replace: $1


- - -


Read too
http://www.den4b.com/wiki/ReNamer:Rules:RegEx
http://www.den4b.com/wiki/ReNamer:Regular_Expressions




HTH? big_smile


For more help and how-to's  read our fine Wiki.
If ReNamer had helped you, please donate a coin to Denis or buy a Pro license for commercial use. (Lite vs Pro)

Offline

#3 2018-03-14 10:54

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 2,634

Re: Removing text after episode numbers

Alternatively, you can also use a Delete rule:

From: Position 1
Until: Delimiter " - "
Right-to-left: YES
Skip extension: YES

This will remove everything from the last occurrence of " - " until the end of the filename.

Offline

#4 2018-03-28 00:12

Alloneword
New Member
Registered: 2018-03-13
Posts: 2

Re: Removing text after episode numbers

OK this is great Den4b option looks the easyoption so i'll download the trial version and give it a go many thanks.

Offline

Board footer

Powered by FluxBB