Z
Z
zilhome2015-03-12 11:51:59
cmd/bat
zilhome, 2015-03-12 11:51:59

How to rename a large number of files by mask, if the names are different?

There are files like "64184-number-452318746.doc" all files should be called "number-452318746.doc", that is, without everything that comes before the word "number". As I understand it, the usual "Search and Replace" is indispensable here.
Does anyone know what to do in my case? Manually it is unrealistic to rename so much.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IceJOKER, 2015-03-12
@IceJOKER

Ctrl+M in totalcmd
Block - Find and Replace.
Mark "Reg exp." , in the search field - ".*?(number.*?)", replace with "$1"
or
"^.*?number" -> "number"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question