, when the file name is mixed with numbers, characters or redundant keywords with uniform rules, manual modification one by one is not only slow, but also error-prone. In this paper, office software" HeSoft Doc Batch Tool "For example, demonstrate how to use the" find and replace keywords in the file name "function, with fuzzy formula matching, batch delete the specified content in the file name. For example, remove the four digits at the end of the docx, doc, and Word document file names at a time, so that EnglishVocabulary2468.docx is directly changed to EnglishVocabulary.docx. After reading, you can quickly master the complete process of importing files, setting fuzzy find formulas, performing batch deletion and checking results.
Many people encounter the same kind of trouble when sorting out Word documents, docx files, doc files or other office materials: the file name carries a string of repeated numbers, numbers or useless keywords, such as course materials, contract versions, export files, download attachments, etc. If the number is large, it is very time-consuming to manually modify the file name, and it is also easy to miss and correct errors.
The question this article addresses is clear: use the fuzzy formula matching function in office software to delete keywords in file names in batches. The following will be combined HeSoft Doc Batch Tool The actual operation interface of demonstrates how to delete the rule content in the file name at one time. In the example of this article, the 4 digits at the end of the file name are deleted, but the same applies to batch cleaning of fixed pattern characters in file names.
Applicable Scenarios
if you have the following situations, it is very suitable to use this batch processing method:
- downloaded Word documents, docx, doc file names are followed by numbers, such as 2024, 1357, 5820.
- The exported office file name contains duplicate marks and needs to be deleted uniformly.
- Before archiving data, you need to batch clean up invalid keywords in file names.
- Multiple file names have similar rule content, which is suitable for matching and deleting at one time with fuzzy formula.
The core of this kind of demand is not "one by one to change the name", but with the help of office software to complete batch processing files reduce duplication of labor and improve finishing efficiency.
Effect Preview
before treatment
as you can see from the example, the original file names are:
- EnglishVocabulary2468.docx
- ExamReview5820.docx
- LearningGoals3091.docx
- MathNotes1357.docx
- StudyPlan2024.docx
the common feature of these files is that there is a set of 4 digits at the end of the main name of the file.

After treatment
after batch deletion, the file name becomes:
- EnglishVocabulary.docx
- ExamReview.docx
- LearningGoals.docx
- MathNotes.docx
- StudyPlan.docx
in other words, the software identifies and deletes the target content in the file name through the fuzzy formula, retains the original extension, and does not affect the document format.

Operation steps
step 1: Enter the "Find and replace keywords in file names" function
open HeSoft Doc Batch Tool On the left, you can see the "File Name" category. There are multiple function cards related to file name processing in the main interface, of which the first item is "Find and replace keywords in file names".
The purpose of this step is to enter the function page that supports batch search, replacement, and deletion of file name content. For scenarios where file name keywords are to be deleted in batches, this entry is the most direct.

After entering, you will see that the complete processing flow is divided into 4 steps:
- select records to process
- set processing options
- set Save Location
- start processing
step 2: Add files to be processed
in the "Select records to process" page, click in the upper right "Add File" you can also see "Import files from a folder" option.
If you are only dealing with a few files, just click "add files". If there are many docx, doc or other office documents in the same folder, it is usually more efficient to import them in bulk from the folder.

After import, the table displays:
- name
- path
- extension
- creation time
- modification time
from the example, a total of 5 docx files are currently imported, and the file names all contain 4 digits to be deleted. After confirming that it is correct, click at the bottom "The Next Step".
The expected result of this step is that all files whose names need to be modified in batches have been entered into the task list and can be processed in a unified manner subsequently.
Step 3: Select the fuzzy formula search method.
After entering "Set Processing Options", there is "Set Keyword Options" in the interface ". In "Find by", you can see two options:
- find text exactly
- blur find text with formulas
here should choose "Find Text Using Formula Blur". Because the example is not to delete the same word, but all the digital content in the file name that conforms to a certain rule. For this kind of regularized content, it is more efficient to use fuzzy formulas than to fill in specific keywords one by one.

The purpose of this step is to allow the software to match the contents of the file name by pattern, rather than just by exactly the same text.
Step 4: Enter the fuzzy formula to be deleted
on the left "List of keywords to find" in the input box, fill in the example:
\d{4}
this formula represents matching 4 digits. In the current case, it corresponds exactly to the number at the end of each file name, such as 2468, 5820, 3091, 1357, 2024.
Once this is set, the software will look for everything in the file name that matches the rule.
The expected result of this step is that the software already knows what to match and can subsequently replace or delete these matching results.
Step 5: Leave the replacement content blank for batch deletion
the right area is "List of keywords after replacement". There are clear hints in the interface: "If it is not filled in, it means deletion".
Therefore, if your goal is to bulk delete keywords in file names, here no need to fill in anything just keep it blank.
This step is crucial. Its meaning is: replace the content found in front with empty, which is equivalent to directly delete the target keyword in the file name.
In other words, the processing logic of this case is:
- find:\d{4}
- replace: Leave blank
- result: Remove 4 digits from file name
when the settings are complete, click "The Next Step" go on.
Step 6: Continue to set the save location and start processing
as you can see from the process bar, there are two steps, "Set Save Location" and "Start Processing. Continue the operation according to the software flow, confirm the output position and then execute the processing.
Although the screenshot focuses on the keyword setting part, it can be clearly judged from the interface steps, and batch processing can be officially started after the saving location setting is completed.
The expected result of this step is that the software uniformly deletes the target content in all file names according to the fuzzy formula just set, and generates the modified file name result.
Frequently Asked Questions or Precautions
1. Why use a fuzzy formula here instead of an exact search?
If the keywords in each file name are different, for example, one is 2468 and the other is 5820, the exact search must be filled in one by one. However, fuzzy formulas can match all similar contents at one time, which is more suitable for batch renaming and batch deletion of file name keywords.
2. What file name does "\d{4}" fit?
It is suitable for matching 4 digits. This is useful if your file name happens to have a fixed-length number in it. It is recommended to confirm that these numbers are indeed what you want to delete before use.
3. Why should the replacement content be left blank?
Because the interface has already prompted" if not filled in, delete". In other words, what is found, what is deleted directly. This is the most common way to remove filename text in bulk.
4. Will it affect the extension, such as docx and doc?
From the sample results, the original extension is preserved after processing, like. docx still exists, and the number part of the main name of the file is deleted. This is very important for the document sorting of Word documents, docx files and doc files.
5. What should I pay attention to before batch processing?
It is recommended to check the import list to confirm that the file name rules are consistent before processing. Especially when using formula fuzzy matching, make sure that the matching rules don't accidentally delete what you want to keep.
Summary
when there are numbers, numbers or redundant keywords of uniform rules in the file name, use office software batch delete keywords in file names, Much faster than manual modification. to HeSoft Doc Batch Tool For example, just enter "Find and replace keywords in file names", import files, and select blur find text with formulas, enter lookup rules \d{4}, and leave the replacement content blank, you can complete the batch cleaning at one time.
For users who often organize Word, docx, doc documents and all kinds of office documents, this kind of batch processing can significantly reduce duplication of work and improve the efficiency of file filing and naming standardization.
If you are also troubled by a large number of messy file names, it is recommended to follow the actual operation of this process now, starting with a test folder, and then batch processing of official documents after confirming the effect. The efficiency improvement will be very obvious.