regular expression (RegEx) patterns. Examples of Pattern Match Zones could be dates, amounts, Social Security numbers, telephone numbers or credit card numbers.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
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.
- In the Pattern Match Zone’s Properties Pane, enter a name for the new Zone.
- From the Type drop-down list, select Pattern Match.
- 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.
- 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.
- To designate a specific area of the page to search for a match, rather than the entire page, click the Locator (
- Optionally, additional Zone Properties can be configured.
- Click the Apply (