Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Constrained Wrap Options

Grooper Object Grooper.Extract

Configures how text extraction handles values that wrap across multiple lines within a bounded region, such as a table cell or box.

Remarks

The Constrained Wrap Options class enables extraction of values that span line breaks inside a defined region, such as a table cell or boxed area. This is useful for scenarios where data (like numbers, dates, or labels) may be split across lines due to formatting or limited space.

For example, enabling this option allows a pattern like \d+ acres to match "340 acres" in the following document, even though the value wraps across two lines:

A tract containing 340
acres
situated in Caddo
County, Oklahoma.
Tract Information
TRACT #54784

Table headers also frequently wrap text inside a box, as shown below:

Date of
Service
Procedure
Code
Billed
Amount
Approved
Amount

How It Works

When enabled, this option combines the text content from a region (such as a table cell) into a single string, replacing line breaks with spaces. Extraction patterns are then applied to this combined text, allowing matches that span multiple lines.

You can further constrain which regions are considered by specifying minimum and maximum values for width, height, character count, and line count using the properties below.

Usage Guidance

  • Use Constrained Wrap Options when extracting data from documents where values may be split across lines within a bounded area.
  • Adjust the 'Width Range', 'Height Range', 'Character Count', and 'Line Count' properties to target only regions of interest and avoid false positives.
  • This option is especially useful for extracting data from table headers, boxed fields, or any layout where text wrapping is common.

Properties

NameTypeDescription

See Also

Used By

Notification