Skip to main content
Extracts lines matching a regular expression. Often, you use a capturing group in this method to narrow down text you matched in an anchor. Parameters
Examples
Notes

Parameters

Note: For the full list of parameters available for this method, see Global parameters for methods. The following table shows parameters most relevant to or specific to this method.

Examples

The following example narrows down text matched by an anchor line by using the Regex method. The Regex method extracts the last four digits in a customer ID. Config
JSON
Example document
The following image shows the example document used with this example config:
Click to enlarge Output
JSON

Notes

Alternatives to this method include the Passthrough method with a custom type. For example, for the preceding example document, the following config returns similar output:
JSON
The preceding config returns:
JSON