# AttachmentCantHaveRegex

A regular expression to restrict the attachments that are ingested.

If the file name of an attachment matches the regular expression, the attachment is ignored.

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

_FT_HTML5_bannerTitle.htm