Batch File Renamer

Rename files with regular expressions

Finder can't do regex. Batch File Renamer Pro can, with capture groups, lookarounds and a live tester that shows what each pattern matches on your real files.

Examples

  • Swap "Lastname, Firstname": find ^(\w+), (\w+), replace with $2 $1
  • Remove a trailing copy marker: find \s*\(\d+\)$, replace with nothing
  • Zero-pad episode numbers: find E(\d)\b, replace with E0$1
  • Pull a date to the front: find ^(.*)_(\d{4}-\d{2}-\d{2})$, replace with $2 $1

Without regex: wildcards

Lite's Replace step understands * (any text), ? (one character) and # (digits), each captured as $1, $2. That covers a lot of what people reach for regex to do.

Safe by default

Regex is easy to get slightly wrong. Every file shows its new name with the changed part highlighted, names that collide are flagged, and Undo reverses the batch, even after you quit the app.

Questions

Can you use regex in Finder's rename?

No. Finder supports plain text replace only.

Which regex flavour is it?

The common one: what you'd write in JavaScript or Python works, lookarounds included.

Can I use regex from the command line?

Yes. Pro includes rename-cli, which runs the same steps and presets as the app.

Download Batch File Renamer

Download for macOS