This GREP pattern can be used to delete lines which don't begin with 'save', 
but I don't know enough about negative lookahead assertions to know if it can 
be changed to look anywhere in the line:

^(?!save)


On 2012-08-27, at 17:47, gugus2000 <[email protected]> wrote:

> How can I remove lines from a large file that do not contain a certain 
> pattern? I can easily find the lines with the pattern but then...? The way I 
> do it today is using grep on the command line with io-redirection but I think 
> there should be a way to do it from within BBEdit.
> 
> Thanks for your help
> ---markus---

-- 
-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
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>



Reply via email to