The applications listed here are available for use in the Discovery Environment and are documented in: Discovery Environment Manual.

Discovery Environment Applications List

The box below searches only this space.
To search the entire iPlant wiki, enter your query in the box at the upper right.






Skip to end of metadata
Go to start of metadata

Find Lines Matching a Regular Expression

Find Lines Matching a Regular Expression is a text-matching tool. It searches a text file for lines matching either a plain text word or phrase (exact match) or a pattern of characters codified using a special syntax (known as a 'regular expression'). This app is a wrapper for GNU grep, a popular regular expression tool found on most UNIX-like systems.

Quick Start

Test Data

All files are located in the Community Data directory of the iPlant Discovery Environment at the following path:

Community Data > iplantcollaborative > example_data > find_lines_matching_a_regular_expression

Input File(s)

Use CountriesRandom.txt as test data. Import from URL to get the data into your Discovery Environment account.

Parameters Used in App

When the app is run in the Discovery Environment, use the following parameters with the above input file(s) to get the output provided in the next section below.

  • Use these parameters within the DE app interface:
    • Regular Expression/Enter a valid pattern to find in the input file - Aus
    • Leave all subsequent parameters as their default values

Output File(s)

Expect a text file grep_tool_output.txt as output.

Tool Source for App

1 Comment

  1. ★★★★★ Very easy to use. Handles large files quickly. (by rwalls)