Rename Clipboard Macro (v11.0.3)

I am trying to rename past clipboards (up to three) and can't seem to get this to work with Search and Replace with RegEx. Can anyone help me with what I am doing wrong?

I would like change any of the following from the following
This "25.1.1 File Name-01" to "25.1.1-New File Name"
This "25.1 File Name-01" to "25.1-New File Name"
This "25 File Name-01" to "25-New File Name"

The macro I made is just to get a quick starting point to get things into the clipboard of file names that I will encounter. Really the part I need help with is just the RegEx so that the prompt shows up with the chnages above.

Rename Clipboard Macro (v11.0.3)

Rename Clipboard.kmmacros (36 KB)

So:

"Get everything up to, but not including, the first space. Then append that with a - and the new file name."

You could use a RegEx, but have a go at treating the string as a pseudo array using a space character as the delimiter -- it's probably easier!

Thank you, it's working.
image