Trim A filename [solved]

I have a filename like this:
Showname - S01E02-1.ext
I have it pattern matched, but want the 'do the following' remove the -1 from the end.
Can I do that with the rename file side of things? if so, how do I subtract from the end of the filename (excluding the .ext), or do I need to accomplish this via a shell script?
Showname - S01E02-1.ext
I have it pattern matched, but want the 'do the following' remove the -1 from the end.
Can I do that with the rename file side of things? if so, how do I subtract from the end of the filename (excluding the .ext), or do I need to accomplish this via a shell script?