# KeepMetadataRegex

A regular expression that matches document fields that you want to add as EML headers without an "X-" prefix. All other document metadata fields are added as EML headers with an "X-" prefix. Therefore, the regular expression should usually match field names that correspond to standard EML headers such as "To", "From", or "Subject".

The connector only inserts documents as EML files when you set StoreBinaryAndMeta to `FALSE`. When `StoreBinaryAndMeta=TRUE`, this parameter is not used.

Type: | String (regular expression)
Default: | `.*`
Required: | No
Configuration Section: | Ingestion
Example: | `KeepMetadataRegex=To|From|Subject`
See Also: | StoreBinaryAndMeta

_FT_HTML5_bannerTitle.htm