Open topic with navigation

# TextToDocs Task Parameters

The parameters in this section are used to customize the `TextToDocs` import task.

To restrict the documents that are processed by the `TextToDocs` task, use the following parameters:

FilenameMatchesRegex<N> | Restrict documents by filename.
ReferenceMatchesRegex<N> | Restrict documents by document reference.
ContentContainsRegex<N> | Restrict documents by their content.
FieldMatchesName<N> and FieldMatchesRegex<N> | Restrict documents by the content of a field.

To define the content of the main document, use the following parameters:

MainRangeRegex<N> | Define the main part of a document (including the content and metadata fields)
MainContentRegex<N> | Define the content of the main document.
MainFieldName<N> and MainFieldRegex<N> | Define metadata fields for the main document.

To define the content of the child documents, use the following parameters:

ChildrenRangeRegex<N> | Define the part of the document that is split into one or more child documents.
ChildRangeRegex<N> | Define the part of the document to split into a single child document.
ChildContentRegex<N> | Define the content of a single child document.
ChildFieldName<N> and ChildFieldRegex<N> | Define the name and content of a metadata field in the child document.
ChildInheritFields | A comma-separated list of fields that are inherited by child documents from the original (not the main) document.

To find and replace data in the documents created by the `TextToDocs` task, use the following parameters:

ContentReplaceRegex<N> and ContentReplaceFormat<N> | Find and replace data in both main and child documents.
FieldReplaceName<N>, FieldReplaceRegex<N> and FieldReplaceFormat<N> | Find and replace data in document fields.
DateFieldName<N> and DateFieldFormat<N> | Identify and replace date values with the date in another format.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm