replace last appearance of a character

i want replace last "-" for space
filename examples

2023-12-30 Alpin-Sts-0025

2023-12-30 Alpin-Sts-Bhs-0025

2023-12-30 Alpin-0025

2023-12-30 Alpin-Sts-Bhs-XS-0025 Nation

i want all then be like

2023-12-30 Alpin-Sts 0025

2023-12-30 Alpin-Sts-Bhs 0025

2023-12-30 Alpin 0025

2023-12-30 Alpin-Sts-Bhs-XS 0025 Nation
Reply to #1:
Hi,
You can use the next regular expresion:

TEXT TO BE REPLACE: [-](?=[^-]*$)

REPLACE WITH : (add a blank space)

OCCURRENCE: ALL

Select Use Regular Expression.
Reply to #2:
Thank you very much Miguel!
happy New Year!
Reply to #3:
Happy New Year!