Extract X lines of text before and after a hit

Tool for Search and Replace across multiple files.
Post Reply
jamesd1
Posts: 1
Joined: Fri Jun 21, 2013 7:20 pm

Extract X lines of text before and after a hit

Post 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
Post Reply