Connector Framework Server 25.1
Connector Framework Server Help

# MainRangeRegex<N>

The `MainRangeRegex<N>` parameter defines the main part of a document. The main part of the document includes the content and all of the fields that are extracted to the main document. This parameter returns the entire document by default.

This parameter accepts one or more regular expressions. The regular expressions can contain sub-matches (enclosed in parentheses). If multiple matches are found, the content is concatenated.

For example, to define the main part of the document as all content that is enclosed by `<html> </html>` tags, set the parameter to:

    MainRangeRegex0=<html>(.*)</html>

Type: | String
Default: | *
Required | No
Configuration Section: | Any section that you have defined for TextToDocs settings
Example: | `MainRangeRegex0=<html>(.*)</html>`
See Also: |

Copyright 2024 Open Text
Version 25.1 | Last updated January 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.1

Topic Title: MainRangeRegex<N>