# FolderMustHaveRegexToCrawl

A regular expression to restrict the folders that are processed.

Folders with paths that match the regular expression are processed. If a folder’s path does not match this regular expression, everything inside the folder is excluded.

Because subfolders of folders excluded by this parameter do not need to be processed at all, using this parameter to exclude parts of folder trees can be more efficient than using `FolderMustHaveRegex`.

Type: | Regular Expression
Default: |
Required: | No
Configuration Section: | TaskName or FetchTasks or Default
Example: |
    FolderMustHaveRegexToCrawl=^//Top of Information Store($|/Inbox(/.*)?)
Only messages from the `Top of Information Store`, `Inbox`, and all folders inside `Inbox` are retrieved.
    FolderMustHaveRegexToCrawl=^//Top of Information Store/Inbox/Folder
No messages are retrieved. This is because `Top of Information Store` does not match the regular expression, so all folders and messages are excluded.
See Also: | FolderCantHaveRegex FolderCantHaveRegexToCrawl FolderMustHaveRegex

© 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