Connector Framework Server 25.4
Connector Framework Server Help

# MainFieldRegex<N>

The `MainFieldName<N>` and `MainFieldRegex<N>` parameters name and populate a document field within the main document.

The document field named in the `MainFieldName<N>` parameter is populated by the content identified by the `MainFieldRegex<N>` parameter. Each pair of parameters produces a single document field.

The data used to populate the field must be in the range defined by the `MainRangeRegex` parameter.

The regular expressions used in the `MainFieldRegex` parameter can contain sub-matches (enclosed in parentheses). If multiple sub-matches are found, the sub-matches are concatenated (separated by spaces).

Type: | String
Default: | None
Required | No
Configuration Section: | Any section that you have defined for TextToDocs settings
Example: | `MainFieldName1=Description MainFieldRegex1=<p class="description">(.*)</p>`
See Also: | MainFieldName<N> MainRangeRegex<N>

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Connector Framework Server 25.4

Topic Title: MainFieldRegex<N>