Example: Extract Data to Match a Regular Expression

The following examples describes how to extract data matching a regular expression.

EXAMPLE 1:

The output you want to extract is contained in the following line:

ERR0034: Failed to connect to the database

You only want to extract the Error message number, ERR0034.

Type the following fields as described in the screenshot below:

If you edit the Preview Line you see what is extracted.

The Application searches for any text that contains ERR and extracts 0034.