PathMustHaveRegex

A Perl-compatible regular expression to limit the files retrieved by the connector. The full path of a file must match the regular expression, otherwise the file is ignored.

For example, you can use this parameter to exclude files that do not match a certain file type:

.*\.(doc|xls|pdf) Exclude all files, apart from .doc, .xls, and .pdf files.
Alternate Name: PathRegex
Type: String
Default: Everything
Required: No
Configuration Section: TaskName or FetchTasks
Example: PathMustHaveRegex0=.*\.pdf
PathMustHaveRegex1=.*\.doc
See Also:

PathCantHaveRegex

PathRegexCaseInsensitive

DirectoryFileMatch