# AttachmentMustHaveRegex

A regular expression to restrict the attachments that are ingested.

The file name of an attachment must match the regular expression, otherwise the attachment is ignored.

Type: | String (regular expression)
Default: |
Required: | No
Configuration Section: | TaskName or FetchTasks
Example: | `AttachmentMustHaveRegex=.*\.zip`
See Also: | IndexAttachments AttachmentCantHaveRegex

_FT_HTML5_bannerTitle.htm