Contents IT Operations Management Previous Topic Next Topic Parse text using a regular expression Subscribe Log in to subscribe to topics and get notified when content changes. ... SAVE AS PDF Selected Topic Topic & Subtopics All Topics in Contents Share 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. Procedure 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 Select the Regular expression from the Parsing strategy list. 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). To end the discovery process if no results are found, select the If not found check box. On this page Send Feedback Previous Topic Next Topic
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. Procedure 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 Select the Regular expression from the Parsing strategy list. 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). To end the discovery process if no results are found, select the If not found check box.
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. Procedure 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 Select the Regular expression from the Parsing strategy list. 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). To end the discovery process if no results are found, select the If not found check box.