Often used to anchor other Zones, a Pattern Match Zone can extract data which exactly matches your search string (like a Marker) or that includes one or mote .NET-based regular expression (RegEx) patterns. Examples of Pattern Match Zones could be dates, amounts, Social Security numbers, telephone numbers or credit card numbers.

The Zone Search Region which you have selected is indicated by a green box on the document image.

Choosing Between Marker and Pattern Match Zones

When choosing between a Marker Zone and a Pattern Match Zone, consider these factors:

  • Case – Pattern Match Zones are case sensitive (but can be controlled with (?i) at the beginning to ignore case). Marker Zones are not case sensitive.
  • RegEx Search Strings – Pattern Match Zones support the use of Regular Expressions to define search strings. Marker Zones do not.

  1. In the Pattern Match Zone’s Properties Pane, enter a name for the new Zone.

  2. From the Type drop-down list, select Pattern Match.

  3. Enter text for an exact match or regular expression (Regex) in the Search String text box.
    Note that a regular expression may just be text, but markers and regular expressions work differently. The search string for Pattern Match Zones are by default case sensitive. Expressions are evaluated in the order they are entered, and processing stops at the first found match of a pattern in the Zone.

  4. To enter multiple patterns, use your Enter key to create new lines or use a pipe ( | ).
    If configuring extraction from multiple lines, you can set the allowable gaps between multiple lines, in the in the Limits group, in the Lines subgroup by entering a number other than “1” in the Max text box. This will cause the Word Spacing setting to appear. Refer to the Limits Zone Properties section for details.

    Note that when using multiple lines, GlobalCapture checks for a match for the entire line. If none is found, it checks the next entire line. When using the pipe element, it checks for a match the first string and if none is found, the string after the first pipe, and so on.

  5. To designate a specific area of the page to search for a match, rather than the entire page, click the Locator () icon, and then use your mouse to drag a Search Region over the area to be searched.

  6. Optionally, additional Zone Properties can be configured.

  7. Click the Apply () icon.

The Template Designer with an example of multi-line extraction and the Pattern Match Zone properties to create it

Back to top

Additional Zone Properties

Parent Zone Property

Back to top

Field Zone Properties

Back to top

General Zone Properties

Back to top

Position Zone Properties

Back to top

Limits Zone Properties

Back to top

Barcode Zone Property

Back to top