Help with Batch File Renameing - RegEx Rename Script

I am running into an issue of a simple RegEx rename not working. I highlight the files that I need to rename and then choose scripts - rename using the RegEx pattern.

1 - Docuemnt Name - Part
1 - Docuemnt Name - Part
2 - Docuemnt Name - Part
2 - Docuemnt Name - Part

I tried these source patterns to match the digit and the dash

\d\s\-\s
\d -

Destination Pattern Week 1

Files are not renamed.


I don’t have the English UI, so I’m not sure what you’re doing here. I suppose that you’re using “Tools/Batch” and then ??? None of the options I see under Tools/Batch match your screenshots. In any case, I suggest going with “Scan name”, that should support regular expressions. And make sure that the files you want to rename are selected!

Tools > Batch Processing…

1 Like

I make it a habit to use \s instead of a space – that captures all whitespace, including tabs. Might not be an issue in filenames, but it doesn’t do any harm, either. For text, \s is always the safer choice, I think.

Indeed.

I was actually going into the Sripts icon - Rename and then Rename using RegEx.

Screenshot 2024-03-16 at 11.59.46 AM


Tools - Batch Rename - I missed that one.

Thank you.