Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.
  • Madrid
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store

Parse text using a regular expression

Log in to subscribe to topics and get notified when content changes.

Parse text using a regular expression

In discovery patterns, you can parse text into variables using the Regular expression query language as the parsing strategy.

Before you begin

Familiarize yourself with the query language.


  1. Select one of the parsing operations from the Operation list in one of the following locations:
    • the Identification Sections or Connectivity Sections for Service Mapping
    • the Step window for Discovery
  2. Select the Regular expression from the Parsing strategy list.
  3. Fill in the fields, as appropriate.
    Field Description
    Regular expression Specify the regular expression. You cannot select text in the text box using this parsing strategy.

    You can only specify a single expression, but depending on its wording, multiple values can be extracted (enclosed in parentheses).

    Matching of variables to parentheses occurs according to the order of the parentheses sets. (The first variable is matched to the first set of parentheses, and so on).

    Set variables as
    • Table: Select this option if the target table contains multiple columns.
    • List: Select this option for a single string (scalar).
  4. To end the discovery process if no results are found, select the If not found check box.