Needed to rename a bunch of files, removing a `part 01`, `part 02` etc.. Tried using `rename` but that did not support regexes, at least on Fedora.
Turns out #emacs dired mode lets you use normal editing, including `query-replace-regexp` which made it trivial to rename all the files.

@matt1126 This is a very much underappreciated aspect of `dired`its soooo useful.

Rectangle select when doing these operations is also particularly useful.

#emacs #dired

@slackline Just tested `rectangle-mark-mode` and `kill-rectangle` and it would have saved me writing out the regex, good shout!

I typically do not use rectangle mode as the text I normally work with is rarely structured in that way so it is not one of the tools I reach for first.

@matt1126 Cool, I use it when renaming downloads from Bandcamp. Could probably do a `query-replace` on such operations without the need for regex's myself.

We all use what is most comfortable and appropriate to the situation though, there is no right way.