Remove part of a filename

Have a look at the help on the Convert>Filename-Filename function:

ore here:

or here:

or here: