dired-do-rename-regexp
dired-do-rename-regexp is an interactive autoloaded compiled Lisp function in `dired-aux.el
'.
(dired-do-rename-regexp REGEXP NEWNAME &optional ARG WHOLE-NAME)
Rename selected files whose names match REGEXP to NEWNAME.
With non-zero prefix argument ARG, the command operates on the next ARG
files. Otherwise, it operates on all the marked files, or the current
file if none are marked.
As each match is found, the user must type a character saying
what to do with it. For directions, type C-h at that time.
NEWNAME may contain \<n> or \& as in `query-replace-regexp'.
REGEXP defaults to the last regexp used.
With a zero prefix arg, renaming by regexp affects the absolute file name.
Normally, only the non-directory part of the file name is used and changed.