When a large number of folder names contain similar numbers, dates, version numbers, or fixed-format characters, renaming them one by one is not only time-consuming, but also easy to miss. This article HeSoft Doc Batch Tool For example, demonstrate how to use the "find and replace keywords in folder names" function, through the formula fuzzy search method to batch locate three digits in folder names, and uniformly replace them with specified text, to achieve batch modification and standardized management of folder names.
In project data, customer files, order folders, or test data directories, it is common to encounter a batch of folder names with similar structures, such INV4X812, ORD7A293, PO9C376 such names. They are different in the first half, but they all contain three digits at the end. If you need to replace these similar numbers with fixed words, it will be very inefficient to manually modify the folder names one by one.
This article describes how to use office software HeSoft Doc Batch Tool , modify the similar text in the folder name in batch through the "folder name" related function. In the example, we batch replace the three digits at the end of the folder name -TEST to quickly complete the folder batch rename.
Applicable Scenarios
batch modify similar text in folder names, suitable for the following common office scenarios:
- batch replacement number: for example, replace the order number, serial number, and test number in the folder name with the specified text.
- Unified project directory naming: replaces the old identity in multiple project folders with the new identity, maintaining the directory naming convention.
- Batch date or version number: for example, the date, version suffix, and phase mark in the folder name are adjusted uniformly.
- Organize customer or profile folders: bulk renaming can be done in one go when the folder name contains similarly formatted characters.
If you usually need to batch process Word, docx, doc, Excel, PDF or picture data, using this kind of office batch processing tool can reduce a lot of repeated operations.
Effect Preview: Pre and Post Processing
before treatment

the folder name in the example is as follows:
- INV4X812
- ORD7A293
- PO9C376
- REQ8F194
- SO2D705
what these names have in common is that each folder name has three digits at the end, such as 812, 293, 376, 194, and 705.
After treatment

after the batch replacement is completed, the folder name changes:
- INV4X-TEST
- ORD7A-TEST
- PO9C-TEST
- REQ8F-TEST
- SO2D-TEST
as you can see, the three digits at the end of the original have been uniformly replaced -TEST. This is the typical effect of batch finding and replacing similar text in folder names.
Operation steps
step 1: Enter the "Folder Name" tool classification
open HeSoft Doc Batch Tool After that, select folder Name. The interface displays several tools related to folder naming, including:
- find and replace keywords in folder names
- insert text in folder name
- add prefix and suffix to folder name
- folder Name Case Conversion
- delete text in folder name
in this example, you want to bulk modify the similar number numbers in the folder name, so select "Find and replace keywords in folder names".

Operation purpose: enter the function module dedicated to batch replacement of folder name text.
Expected results: the software enters the batch processing wizard page and prepares to add folders that need to be processed.
Step 2: Add folders to be renamed in batches
after entering the function page, click at the top right "Add Folder" button to import the folder whose name needs to be modified into the software.
After the folder is imported, information such as the serial number, name, path, creation time, and modification time of the folder is displayed in the list. In the example, five folders are added, named INV4X812, ORD7A293, PO9C376, REQ8F194, and SO2D705.
If a folder that does not need to be processed is imported, it can be removed by deleting it on the right side of the list. If there are too many lists, you can also use the filtering and sorting functions on the interface to assist viewing.

Operation purpose: confirm the range of folders whose names need to be batch modified.
Expected results: all pending folders appear in the list with the correct number of records, and then click "The Next Step" enter Processing Options Settings.
Step 3: Select "Use formula blur to find text"
on the Set Processing Options page, find find ways. Here you can see options such as "Find text exactly" and "Find text using formula blur.
Since the three digits at the end of each folder in this example are different, if you use precise search, you need to fill in the 812, 293, 376 and other specific content one by one, which is not efficient. Therefore, we should choose "Use formula blur to find text".

Operation purpose: match similarly formatted text by rules, not just a fixed text.
Expected results: the software can recognize the content of the folder name that conforms to the rules, such as the three digits in this example.
Step 4: Fill in the keyword rules to be searched
on the left "List of keywords to find" fill in:
\d{3}
the rule here means matching consecutive three digits. For INV4X812, it will match to 812; for ORD7A293, it will match to 293.
Operation purpose: let the software find similarly formatted numbers in the folder name in bulk.
Expected results: all parts of the folder name that meet the "three-digit" rule are recognized.
Step 5: Fill in the replaced keywords
on the right "List of keywords after replacement" fill in:
-TEST
this means that the three digits found are uniformly replaced -TEST. For example:
- INV4X812 will become INV4X-TEST
- ORD7A293 will become ORD7A-TEST
- PO9C376 will become PO9C-TEST
it can also be seen in the interface prompt that if the replaced content is not filled in, it means that the matched text is deleted. That is, if you only want to remove some similar characters in the folder name, you can keep the replacement list empty.
Operation purpose: specifies the new text after the bulk replacement.
Expected results: the software will batch generate new folder names in the way of "find rule replace text.
Step 6: Continue to the next step and start processing
after setting up find and replace content, click at the bottom of the page. "The Next Step". Follow the interface wizard to continue through the next steps, such as setting the save location, and enter start processing link.
After the processing is completed, return to the folder location to view the results, and you can see that the folder name with the original three-digit ending has been batch modified to have -TEST the new name of the suffix.
Operation purpose: execute the task of modifying folder names in bulk.
Expected results: replace multiple folder names at once without manually renaming them one by one.
Frequently Asked Questions and Precautions
1. Why use formula fuzzy search?
When the similar text in the folder name is not exactly the same, but has the same format, it is suitable to use the formula fuzzy search. For example, in this example, 812, 293, and 376 are all different, but they are all "three digits", so you can use \d{3} to match them all at once.
2. What if you only want to delete similar words?
As can be seen from the interface description, if the replaced keyword list is not filled in, it means delete. In other words, after filling in the content to be found, leave the replacement content blank to delete the matching text in the folder name in batch.
3. Do you want to check the list before batch modification?
It is recommended to check. Batch processing is very efficient, but it also means that setting errors can affect multiple folders at the same time. Before starting processing, you should confirm whether the number, name and path of the imported folders are correct to avoid changing irrelevant directories by mistake.
4. How should the rules be written more safely?
If you only want to replace the end number, you should try to make the rule closer to the target content and avoid matching to numbers in the folder name that you do not want to modify. This example demonstrates matching three digits, which is suitable for situations where only the target three digits in the name need to be replaced.
5. Is it suitable to handle files or folders?
This article demonstrates folder Name batch modification. If you need to process Word documents, docx, doc, Excel forms, PDF files or picture file names, you can find the relevant batch processing functions in the corresponding tool classification on the left side of the software.
Summary
the key to batch modification of similar words in folder names is to find the common rules of these names first, and then use office software to perform batch replacement. By HeSoft Doc Batch Tool The "Find and replace keywords in folder names" function of can quickly import multiple folders, use formulas to fuzzy find matching similar numbers, and uniformly replace with specified text.
For those who need to constantly organize project catalogs, customer profiles, order folders, or test data, this batch processing significantly reduces duplication of effort and the probability of manual renaming errors. It is recommended to confirm the folder list and replacement rules before formal processing, and then click Next to start batch processing.