Remove everything after Dash -

I need some way to remove everything after the first dash in the name. I have several files and I just want to remove everything that comes after -
I assume that you also want to remove the hyphen. If so, simply use...

Remove pattern: -*

If you want to retain the trailing hyphen then you will need to use a regular expression...

Remove pattern: -\K.*
Use regular expressions
Reply to #2:
Thanks, I went to remove, then I set -* and I put a checkmark on interpret as wildcard and it worked.