Page 1 of 1

Extract X lines of text before and after a hit

Posted: Fri Jun 21, 2013 7:28 pm
by jamesd1
I'm searching multiple files for a phrase such as "continuity of" which works fine. However, when extracting and saving to html only the single line containing the hit is extracted. I would like to extract 6 lines or so before and after each hit so that the larger context in which the hit occurs can be read.

Thanks for you help; great program! :P

Best Thoughts,

James