Remove everything after the second dash up to the extension?

Advanced Renamer forum
#1 : 10/08-18 05:06
yuppicide
yuppicide
Posts: 1
I have filenames like such

Text here - Text here - gkjl3398dj.mkv
Text here - Text here - sdlkjsldks.mkv
Some more text here-some more -ksdjjs_sjdks.mkv
etc.

How to remove everything after the second - so the output would be?

Text here - Text here.mkv
Text here - text here.mkv
Some more text here-some more.mkv




10/08-18 05:06
#2 : 14/08-18 14:00
Kim Jensen
Kim Jensen
Administrator
Posts: 804
Reply to #1:
Try the Replace method and configure it like this:
Text to be replaced: (.+?) - (.+?) - .*
Replace with: \1 - \2
Use regular expressions: Checked
Apply to: Name


14/08-18 14:00