Re: [NTB] keeping lines in a file that has a specific string
- Thanks Alec. I placed a response to the thread below but no answer. I am not clear where to write the expression you emailed. I am new to clips.
Alec Burgess <buralex@...> wrote: Hi Andrew:
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:Regards ... Alec -- buralex-gmail
> 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.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
[Non-text portions of this message have been removed]