On Monday, April 13, 2015, Christopher Stone <[email protected]> wrote:

On Apr 12, 2015, at 22:27, Claira Monica <[email protected]> wrote:
First, when I use "Process Lines Containing", when I click on the "Options" button, the only checkbox that is active in the lower area is
"Delete matched lines"...

Secondly, what I really want to do is _keep_ only the lines that contain a given phrase, not _remove_ them...how can I do that?

Use an AppleScript or a Text-Filter.

Actually :-), the Extract function is tailor made for this. A Grep pattern which matches an entire line and includes the string you're looking for will extract into a text file with what you need, e.g.

    ^.*somestring.*$

where "somestring" is the thing you're looking for.

R.
--
Rich Siegel                                 Bare Bones Software, Inc.
<[email protected]>                      <http://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.

--
This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to