Syntax
AnyFileBackup fields support three syntax modes: plain text, wildcards, and regular expressions.
Plain Text
In plain text mode, all input is treated literally — wildcards and regular expression characters have no special meaning and are matched as typed.
Multiple values can be separated by semicolons (;). For example, when listing several subfolder paths, enter each path separated by a semicolon with no spaces around it.
Wildcards
A wildcard is a placeholder character that matches a range of permitted characters in a filename or path.
- Asterisk *
-
Matches any number of characters (including zero).
Example: document*.docx matches document1.docx, document10.docx, and document100.docx. - Question mark ?
-
Matches exactly one character.
Example: document?.docx matches document1.docx only; document10.docx and document100.docx are not matched.
Regular Expressions
Regular expressions (RegEx) are sequences of characters that define a match pattern. They offer the most flexible and precise matching in AnyFileBackup.
- Dot .
-
Matches any single character (numeral, letter, or special symbol).
Example: document..pdf matches document1.pdf only (one character between the name and the extension). - Dot and asterisk .*
-
Matches any sequence of characters (zero or more).
Example: doc.*\.pdf matches document1.pdf, document10.pdf, and document100.pdf — any filename starting with doc with a .pdf extension. - Case-insensitive flag (?i)
-
When placed at the start of the expression, makes the entire pattern case-insensitive.
Example: (?i).*\.pdf matches Document.pdf, document1.pDf, doc.PDF, and docum12.PDf.