Open topic with navigation

# PathMustHaveRegex

A list of regular expressions to limit the files that are retrieved by the connector. The connector only retrieves files from folders where:

- the full path of the folder matches one of the regular expressions.
- the full path of all parent folders (up to the root folder) match one of the regular expressions.

(If a folder does not match at least one of the regular expressions, all of its subfolders are ignored, even if those folders do match a regular expression).

You can specify a comma-separated list of regular expressions, or use numbered parameters (`PathMustHaveRegex0`, `PathMustHaveRegex1`, and so on).

Type: | String (regular expression)
Default: |
Required: | No
Configuration Section: | TaskName or FetchTasks or Default
Example: | `PathMustHaveRegex0=.*IndexThis.* PathMustHaveRegex1=/IndexThis/` (where the root directory contains a folder named `IndexThis` or `***IndexThis***`)
See Also: | FileNameCantHaveRegex FileNameMustHaveRegex PathCantHaveRegex

© 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