Open topic with navigation

# 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

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm