Remove everything after

Advanced Renamer forum
#1 : 01/12-20 13:10
Harry
Harry
Posts: 1
Hi!
I have some files like this

heyhey.s01e01.english.web.720p.mkv
heyhey.s01e02.english.web.1080i.mkv
heyhey.s01e03.english.web.720p.mkv

And want it to be like this
heyhey - S01 E01.mkv
heyhey - S01 E02.mkv
heyhey - S01 E03.mkv


So basiclly delete everything after the last episode number except the file extension.
How do i do that?
Tnx :)


01/12-20 13:10
#2 : 01/12-20 14:45
David Lee
David Lee
Posts: 1125
Replace: "^([^\.]*)\.([^\.]*).*"
With: "\1 - \U2"
Occurrence: "1st"
Use regular expressions
Apply to "Name"

For explanation see the User Guide:
www.advancedrenamer.com/user_guide/regular_expresions

"\U2" is similar to "\2" but converts the text in the sub-pattern to upper case


01/12-20 14:45 - edited 01/12-20 14:49