If you haven't already, join the clips list (link s/b at the bottom of
and then refer to this thread:
ntb-clips : Message: Pulling lines of HTML code out of a page
The OP wanted only lines that had a particular string at the BEGINNING
of a line.
To grab lines with a string ANYWHERE in a string, change this line:
this incorporates a couple of changes discussed later in the thread.
Note both lines above s/b on one line. Yahoo-groups will probably split
Above solution requires Notetab 5.x due to syntax changes from Notetab 4.9x
I've copied this to the clips list, if more explanation is required,
please respond there, not to the Notetab (main) list.
> Hello everyone:
> I am enjoying the software and finding new uses.
> If someone can recommend a solution. One of my everyday uses, as I
> edit files is to keep only lines that has specific strings:
> for example, I get a file with 3000 lines but I only wants lines that
> has the string "PAID" and the result should be only the few lines that
> meet the condition.
> I do not know how to use awk in this context and its not installed on
> my laptop with wondows xp.
> Any feedback is appreciated.
Regards ... Alec -- buralex-gmail