# 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

_FT_HTML5_bannerTitle.htm