When multiple folder names have similar numbers, trailing numbers, dates, or fixed keywords, renaming them one by one is not only time-consuming, but also error-prone. This article takes "INV4X812, ORD7A293" and other folders as an example to introduce how to use HeSoft Doc Batch Tool Through the function of "finding and replacing keywords in folder names", the three-digit tail numbers in folder names are deleted in batches to realize rapid standardization of folder names, which is suitable for office scenes such as data archiving, project directory sorting, customer folder cleaning, etc.
In daily office, we often encounter a batch of folder names containing similar keywords, random numbers or fixed tail numbers. For example, the folder name is INV4X812, ORD7A293, PO9C376, the last three digits need to be deleted uniformly and the previous business code should be retained. If you rename one by one manually, it will be very inefficient when the number is large, and there may be problems of missing deletion and accidental deletion.
This article describes how to use office software HeSoft Doc Batch Tool , through the "folder name" in the batch search and replace function, batch delete similar keywords in the folder name. This method is suitable for batch processing of folder directories, reducing duplication of labor, especially for project data, customer files, Word/doc/docx document filing directories, Excel report folders, PDF scan classification folders and other scenarios.
Applicable Scenarios
batch deletion of similar keywords in folder names is generally applicable to the following types of office requirements:
- delete folder end number: for example, "INV4X812" is treated as "INV4X" and the last three digits are uniformly removed.
- Directory name to clean up bulk export: some system-exported folders are automatically appended with serial numbers, batch numbers, or random codes, which require secondary sorting.
- Specification Project or Customer Folder: delete the invalid trailing number in the name and keep only the item code, customer short name or business keyword.
- Organize the document archive directory: for example, when files such as Word, docx, doc, Excel, and PDF are saved by folder classification, the directory naming rules need to be unified.
Compared with manual renaming, the batch processing tool can clean up the names of multiple records at one time, which is suitable for office workers who need to organize files and folders with high frequency.
Effect Preview: Pre and Post Processing
in this example, what needs to be deleted is the similar three-digit tail number in the folder name.

Before processing, the folder name is as follows:
- INV4X812
- ORD7A293
- PO9C376
- REQ8F194
- SO2D705
after batch search and replace, the three-digit tail number is deleted.

The processing results are as follows:
- INV4X
- ORD7A
- PO9C
- REQ8F
- SO2D
it can be seen that the letters and middle numbers that need to be retained in the folder name are still retained, and only the matched three-digit content is deleted, thus realizing the purpose of batch specification of the folder name.
Operation steps
step 1: Enter the "Folder Name" tool classification
open HeSoft Doc Batch Tool In the left function bar, select folder Name". Various batch processing functions related to folder names are provided under this category.

In the function card, click "Find and replace keywords in folder names". The function of this function is to find the specified content in the folder name in batch and replace it with the new content. If the replacement content is empty, the effect of deleting keywords in batch can also be realized.
Step 2: Add folders to be processed
after entering the function page, the interface will display the processing flow: select the record to be processed, set the processing option, set the saving location, and start processing.

Click on the top right "Add Folder" button to add the folders whose names need to be modified in batches to the list. After the addition is completed, the software will display the folder's serial number, name, path, creation time, modification time and other information in the table.
In the example, five folders have been added, named INV4X812, ORD7A293, PO9C376, REQ8F194, SO2D705. After confirming that the list is correct, click at the bottom. "The Next Step", enter the processing options settings.
Step 3: Set the search method and keyword rules to be deleted
on the Set Processing Options page, find "Find". Since this example needs to delete a class of similar content, not the same text that is completely fixed, select "Use formula blur to find text".

Then, in "List of keywords to find" enter:
\d{3}
here's \d{3} used to match consecutive three digits. The 812, 293, 376, 194, and 705 in the example all comply with this rule and are recognized in batches.
The right side is "List of keywords after replacement", the interface prompts "if you don't fill in, it means delete". Therefore, if the goal is to bulk delete such keywords in folder names, the replacement on the right is left blank.
When the settings are complete, click "The Next Step". The expected result is that the software will be prepared to delete the matching three-digit content in each folder name according to the entered rules.
Step 4: Set the save location and start processing
continue to enter according to the interface process "Set Save Location". Confirm the processing location and storage method according to actual office needs, and then enter "Start processing" link.
After starting the process, the software automatically performs a batch find replace on the folder names in the list. After the processing is completed, return to the directory where the folder is located to see the name change: the original INV4X812, ORD7A293 and other folders have been changed to more concise names such as INV4X, ORD7A and so on.
Key Settings Description: Why the "similar" keyword can be removed
if each folder contains exactly the same content to be deleted, such as "_copy" or "temporary", you can use exact find text. However, the 812, 293, 376, 194 and 705 in this example are not the same, but they all belong to the similar content of "three digits.
Therefore, the choice "Use formula blur to find text" it is more suitable for this kind of scene of batch modification of folder names. By entering a unified matching rule, the software can automatically identify the content of similar structure in different folder names, and batch delete or replace.
In this example, the replaced keyword list remains empty, and the effect of batch deletion of similar keywords in folder names can be realized by combining the interface prompt "If it is not filled in, it means deletion.
Frequently Asked Questions and Precautions
1. \d{3} What will be deleted?
In this example,, \d{3} used to match consecutive three digits. Therefore, any content in the folder name that conforms to the continuous three-digit number structure may be recognized and deleted. It is recommended to confirm the rule of folder names before operation to avoid deleting numbers that need to be retained by mistake.
2. Why is the replacement keyword list left empty?
Because the goal this time is to "delete" the keyword, not replace it with other text. The interface has already prompted "if you do not fill in, it means delete", so the replacement content on the right can be left blank.
3. If you only want to delete the end number, what should you pay attention?
If there are also consecutive three digits in the middle of the folder name, special caution is required before using fuzzy rules. It is recommended to test with a small number of folders to confirm that the matching effect meets expectations, and then process more directories in batches.
4. Is backup required before batch processing?
It is recommended to make a backup of important directories or verify the rules in the test folder first. Batch renaming affects multiple folders at one time. Confirm rules in advance to reduce the risk of misoperation.
5. Will the folder name be repeated?
Some folder names may become the same after the keyword is deleted. For example, if you delete numbers for both Item 001 and Item 002, they may become Item ". Before processing, check whether there is a risk of name overlap to avoid affecting subsequent sorting.
Summary
bulk deletion of similar keywords in folder names is essentially to clean up duplicate, invalid or regular content from folder names. Use HeSoft Doc Batch Tool The "find and replace keywords in folder names" function of can quickly identify similar content through formula fuzzy search, and then realize batch deletion by leaving the replacement content blank.
For users who need to organize project data, customer files, Word/docx/doc document directories, Excel report folders or PDF archive folders frequently, this batch processing method can significantly reduce manual renaming time and reduce the probability of duplication and misoperation. It is recommended to confirm the naming rule before formal processing, and then add folders, set search rules and perform processing according to steps to effectively complete the standardization of folder names.