File System Connector 25.2
File System Connector Help

# 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 2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery File System Connector 25.2

Topic Title: PathMustHaveRegex