# FolderCantHaveRegex

A regular expression to restrict the folders that are processed.

Folders with paths that match the regular expression are not processed.

If a folder is excluded by this parameter, its subfolders are not excluded unless they also have paths that match the regular expression.

To exclude a large number of folders, consider using `FolderCantHaveRegexToCrawl`.

Type: | Regular Expression
Default: |
Required: | No
Configuration Section: | TaskName or FetchTasks or Default
Example: |
    FolderCantHaveRegex=^//Top of Information Store/Inbox/Folder$
The connector does not retrieve any items from `//Top of Information Store/Inbox/Folder`, but items in subfolders of `Folder` are still retrieved.
    FolderCantHaveRegex=^//Top of Information Store/Inbox/Folder(/.*)?$
The connector does not retrieve any items from `//Top of Information Store/Inbox/Folder`, or its subfolders. In this case, consider using the parameter `FolderCantHaveRegexToCrawl` instead.
See Also: | FolderCantHaveRegexToCrawl FolderMustHaveRegex FolderMustHaveRegexToCrawl

© Copyright 2020 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 mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm