0 votes

Can FileLocator Pro display a specified number of lines after a match and include these lines in a report?

I'd like to search for files containing "TextA" and "TextB" (the text will be on different lines). If the file contains both "TextA" and "TextB", then report "x" lines after and including the line containing "TextA" and "y" lines after and including the line containing "TextB" and put all the lines into a tabulated report for import into a spreadsheet.

asked by (30 points)

1 Answer

0 votes

If you want to search for both TextA and TextB you'd search for:

Containing Text: TextA AND TextB

You can specify the number of surrounding lines in the Configuration section:

Surrounding Lines

Then you can export this using the File->Export Results... menu option:

Export Results

answered by (57.8k points)
...