Page 1 of 1

Extract Text around a keyword

Posted: Tue Jul 22, 2008 5:39 am
by roony
hi,
I'm trying to extract about 10 lines around a $ sign including the price & all text about 10 lines from the keyword & 10 lines in front of the $ sign, basically all the text upto 10 lines before the $ sign & all the text upto 10 lines after the $ sign

thnx

Re: Extract Text around a keyword

Posted: Wed Jul 23, 2008 2:10 pm
by DataMystic Support
Use Filters\Extract\Extract lines matching (grep)

with text of

Code: Select all

\$
and set the context lines to 10 before and 10 after.