I'm attempting to search in just a single large file. I would like to output ONLY lines that contain a particular string.
Example:
Elton John
Output all lines containing "Elton John".
Any suggestions appreciated.
Thanks!
Nicholas Kormanik
Output ONLY lines with specific string
- DigitalVolcano
- Site Admin
- Posts: 1729
- Joined: Thu Jun 09, 2011 10:04 am
Re: Output ONLY lines with specific string
The preview window currently just displays the line with the phrase in it if this helps.
Are you wanting to extract the lines?
If you want to extract, try-
Checkmark the setting-
Read Entire File: "Process Line by line"
Regular Expression:
.*Elton John.*
Click 'Extract'.
Are you wanting to extract the lines?
If you want to extract, try-
Checkmark the setting-
Read Entire File: "Process Line by line"
Regular Expression:
.*Elton John.*
Click 'Extract'.
Re: Output ONLY lines with specific string
Super. Thanks for getting back.
Can this be set up as a 'command-line' code, and output to file. So as to be automatic?
Can this be set up as a 'command-line' code, and output to file. So as to be automatic?