The views expressed in this blog are those of the owner and do not reflect the views or opinions of the owner’s employer. All content provided on this blog is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information. This policy is subject to change at any time. The owner is not an attorney, and nothing posted on this site should be construed as legal advice. Litigation Support Tip of the Night does not provide confirmation that any e-discovery technique or conduct is compliant with legal, regulatory, contractual or ethical requirements.
Last night's tip, discussed AstroGrep, an open source grep utility with some limitations. One of its drawbacks is its inability to export only the results for a search to a text file.
grepWin is another free grep utility, available for download here, from developer Stefan Küng. Like AstroGrep, grepWin is a grep utility with only basic features, which can be used to run regular expression searches in text files and some other types of files but not PDFs. While grepWin will not allow only the regex pattern matches to be exported to a file, it does allow the source files to be edited with find and replace searches. This makes it possible to add delimiters to the source files before and after the regex pattern, so the data can be parsed in Excel later.
Note that you'll need to click Search after having run the Replace operation, so the edited version of the text files will be displayed in the results list in grepWin. You will then be able to save the results by clicking on the small arrow at the bottom right of the screen.
AstroGrep is an open source grep utility, that you can use to run regular expression searches on multiple text files. It's a good alternative to an advanced grep utility such as PowerGrep (see the Tip of the Night for August 4, 2018) but it has some limitations.
AstroGrep has a simpler layout than PowerGrep, and may be easier to use for beginners. Simply select the search path to the folder containing the files you want to review, and then enter the search or regular expression search in the 'Search Text' box. [Be sure to select the 'Regular Expressions' check box.] I tested this evening, and confirmed that it can run complex regex searches accurately.
Unfortunately, AstroGrep will not run searches through PDFs.
Another drawback of using AstroGrep is that it apparently will not export search results which only include the searched for pattern results. The user only has the option of exporting the full line of text on which the search result appears.
Some document databases allow you to use EOS, EOP, EOG search operators. These operators allow a document database user to run a search that will find where multiple strings appear within a set number of sentences, paragraphs, or pages of one another. So, for example a search structured this way:
New York W/3/EOP mortgage
. . . will find documents where 'New York' appears within three paragraphs of 'mortgage'.
The EPA's National Service Center for Environmental Publications Repository is one example of a database in which you can use these search operators. Here we see an example of a search for two phrases within 8 sentences of one another: