Find Lines Matching a Regular Expression
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
- To use Find Lines Matching a Regular Expression, upload your data in plain text format.
- Resources:
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.