Download your own copy of HTML Cleaner today!Prev Page Prev Page
Introduction & Getting Started
Main Window
Optimization Options Dialog
Batch Tab
File Masks
Settings Dialog
Search & Replace Dialog
Command Line Support
Deep Troubleshooting
Change Log
Support & Feedback
License Text
Privacy Policy
Other products

Back to the Batch Tab

Batch Tab -> Filemasks

Both “File mask” and “Exclude files” fields let you enter multiple masks, separated by semicolons. During the processing, HTML Cleaner checks all files in a given directory for a match. When a file is found, the program tries to match its filename to the pattern entered in the “File mask” text input field. If either mask matches the filename, the file is considered to comply with the selection criteria. If this is the case, the filename is checked against each mask entered into the “Exclude files” field; if a match is found, the file will be skipped, otherwise it will be processed.

Filemask syntax

Each literal character must match a single character in the string. The comparison with literal characters is case-insensitive.

Each set begins with an opening bracket [ and ends with a closing bracket ]. The brackets enclose the elements of the set. Each element is a literal character or a range. Ranges are specified by an initial value, a dash (-), and a final value. Do not use spaces or commas to separate the elements of the set. A set must match a single character in the string. The character matches the set if it is the same as one of the literal characters in the set, or if it belongs to a range of the set. A character belongs to a range if it matches the initial value or the final value, or is between these two values. All comparisons are case-insensitive. If the first character after the opening bracket of a set is an exclamation point (!), then the set matches any character that is not in the set.

Do not use Unicode characters within sets. They are unsupported within sets and will cause an error. However, you may use Unicode characters outside sets just like any other characters, without any special requirements.

Wildcards are asterisks (*) or question marks (?). An asterisk matches any number of characters. A question mark matches a single arbitrary character.

Back to the Batch Tab