A large number of files according to custom regular expression batch classification into the corresponding file name folder


TranslationEnglishFrançaisDeutschEspañol日本語한국어Updated on2025-06-07 20:23


When faced with a large number of complex file naming or multi-type files, using regular expressions for custom classification is an efficient management method, which can quickly filter the date, number and other patterns in the file name and classify the files by time. When cleaning up unnecessary files, regular matching can quickly locate useless files to facilitate cleaning. In project management, regular expressions can also efficiently retrieve target files according to keywords in file names. Regular expressions can also help unify classification and renaming when the source of files is diverse and the naming is not uniform. Through this classification method, file management becomes more flexible and efficient. The following describes how to use regular expressions to distinguish letters, numbers, or characters in file names to classify files in batches. Multiple file formats such as Word, Excel, PDF, and JPG are supported.

1. Use Scenarios

many file names contain dates, numbers, or classification identifiers. We need to quickly classify files by year and number. At this time, we can use regular expressions to extract these specific patterns for batch classification, effectively improving file management efficiency.

2. Effect preview

before treatment:

image-A large number of files according to custom regular expression batch classification into the corresponding file name folder

after treatment:

image-A large number of files according to custom regular expression batch classification into the corresponding file name folder

image-A large number of files according to custom regular expression batch classification into the corresponding file name folder

3. Operation steps

open 【HeSoft Doc Batch Tool], select [File Arrangement]-[Classify files by file name]].

image-A large number of files according to custom regular expression batch classification into the corresponding file name folder

[Add File] Add multiple files that need to be sorted by custom regular expressions according to file names.

[Import File from Folder] Import a folder containing a large number of files that need to be sorted by custom regular expressions according to file names.

The imported files can be viewed below.

image-A large number of files according to custom regular expression batch classification into the corresponding file name folder

[Classification Method] Click to classify by custom regular expression.

[Regular Expression] Enter the regular expression formula that needs to match the classification.

image-A large number of files according to custom regular expression batch classification into the corresponding file name folder

After waiting for the processing to complete, click the path behind the save location to view the classified files.

image-A large number of files according to custom regular expression batch classification into the corresponding file name folder

Disclaimer: The text, images, videos, etc., on this website are limited to the software version and operating environment used when creating this content. If subsequent product updates cause your operations to differ from the content on the website, please refer to the actual situation!

Related Articles