Help with multiple rename

I'm trying to program a multiple rename to clean MP3 names but it doesn't work:

Rename PATTERN="^[0-9]*[- _]*(.*)" TO="\1" REGEXP Rename FINDREP PATTERN="_" TO=" " Rename FINDREP PATTERN="-" TO=" - " Rename FINDREP PATTERN=" - " TO=" - " Rename CASE=allwords

If I execute this code with some file "1 dummy - file.mp3" an error dialog appears: An error ocurred renaming "test - dummy.mp3". System could not find file.

If I press Retry button the rename dialog appears with these options:

Old Name: test - dummy.txt
New Name: test - dummy.txt
Type: Standard Rename

But the file is finally renamed to "test - dummy.mp3" (with double spaces at each side of the dash), not "test - dummy.mp3" as I would want.

Do you know what could be happening?

Thank you,
Ranma

At the moment Opus gets confused sometimes if you put multiple rename commands on the same button.

If you're working on all files in the folder (or can do a select *.mp3 or similar to select just the files you want to rename) then you should be able to use the workaround from this thread which is to add Go REFRESH and Select ALL (or similar) between each rename.

Maybe there's a way to do it using dopusrt and @NODESELECT as well, but I'm not sure and haven't tried it.