Duplicate File with REGEXP

I have a rename command that looks like this.

Rename PATTERN (.)_..(.*) TO "\1.\2" REGEXP
Basically it takes a file thisfIle_v133.txt and renames it to thisfile.txt.
This works fine.

What I would like to do is have this same functionality in a duplicate command. I can't seem to figure it out.

Also, it should do a force and overlay the existing file if it exists.

Any help would be appreciated.

Thanks

Steven

Try this:

@firstfileonly Copy DUPLICATE PATTERN *_* AS *{file|ext} WHENEXISTS=replace

Thanks for your help.

It worked.