Parsing strategies

In discovery patterns, you can use parsing strategies to extract text and to specify a variable to store the extracted content.

Parsing strategy Description
File parsing strategy (except vertical) Retrieve text from a variety of file types including:
  • ORA file (used by various Oracle products)
  • .properties file (common with respect to Java)
  • XML file
  • INI file
For more information, see Parse text from .ora, .properties, .xml, or .ini file.
Vertical file parsing strategy Retrieve text from a structured text file where each set of data spans multiple lines
Keyword, command, and positional type parsing strategy
  • Retrieve text directly following a specific keyword
  • Retrieve the value of a command line parameter using Java-style parameters
  • Retrieve the value of a command line parameter using standard Unix/Windows parameters
  • Retrieve text specified by its position from the end of the line
  • Retrieve text specified by its position from the beginning of the line
Regular expression parsing strategy Retrieve text specified by a regular expression
Delimited text parsing strategy Retrieve text specified by delimiters and position within the line (the most common way to retrieve text from generic text files)