# Parsing strategies

In discovery patterns, you can use parsing strategies to analyze syntax of the source file. You extract values from parsed files, which allows you later to convert these values into variables.

There are several parsing strategies coming with the base system:

Parsing strategy Description

Oracle

LDAP file

XML file

INI file

Properties file

JSON file (custom)

Horizontal file parsing strategy (not vertical). You can use this parsing strategy only for text files. For more information, see Parse text from a horizontal file.
Vertical File Retrieve text from a structured text file where each set of data spans multiple lines. For more information, see Parse text from a vertical file.

After Keyword

Retrieve text directly following a specific keyword. For more information, see Parse text using keyword, command, and positional type.

Command Line Java Style

Retrieve the value of a command-line parameter using Java-style parameters. For more information, see Parse text using keyword, command, and positional type.

Command Line Unix Style

Retrieve the value of a command-line parameter using standard Unix parameters. For more information, see Parse text using keyword, command, and positional type.

Position From End

Retrieve text specified by its position from the end of the line. For more information, see Parse text using keyword, command, and positional type.

Position From Start

Retrieve text specified by its position from the beginning of the line. For more information, see Parse text using keyword, command, and positional type.

Regular Expression Retrieve text specified by a regular expression. This option requires familiarity with Regex Java syntax. For more information, see Parse text using a regular expression.
Delimited Text Retrieve text specified by delimiters and position within the line (the most common way to retrieve text from generic text files). See Parse text using delimited text.

In addition to these parsing strategies, you can create custom parsing strategies to answer the needs of your organization.