Good morning!

Thanks for your reply, Chris!


> Am 25.10.2015 um 23:56 schrieb Christopher Stone <[email protected]>:
> 
> On Oct 25, 2015, at 06:00, Vlad Ghitulescu <[email protected]> wrote:
>> I want to:
>> 
>> 1.- Fold the whole text and
>> 2.- Unfold only the lines that contains "0B WohnZimmer".
>> 3.- Select only the unfolded lines
>> 4.- Copy them and
>> 5.- Paste them in a new file (and generate a list of all the boxes that are 
>> supposed to go into "0B WohnZimmer".
>> 
>> Is this possible?
> ______________________________________________________________________
> 
> 
> 
> But Process Lines Containing works pretty well for that sort of thing.
> 
> Will that do?

Yes, it does:

—
# 002 --> 0B WohnZimmer
# 003 --> 0B WohnZimmer
# 004 --> 0B WohnZimmer
# 005 --> 0B WohnZimmer
# 006 --> 0B WohnZimmer
# 007 --> 0B WohnZimmer
# 008 --> 0B WohnZimmer
# 009 --> 0B WohnZimmer
# 010 --> 0B WohnZimmer
# 011 --> 0B WohnZimmer
# 012 --> 0B WohnZimmer
# 013 --> 0B WohnZimmer
# 014 --> 0B WohnZimmer
# 015 --> 0B WohnZimmer
# 016 --> 0B WohnZimmer
# 020 --> 0B WohnZimmer
# 021 --> 0B WohnZimmer
# 023 --> 0B WohnZimmer
# 024 --> 0B WohnZimmer
# 026 --> 0B WohnZimmer
—


> You can also use the relatively new feature "Extract" from the Find Dialog.
> 
> ^.*0B WohnZimmer.*

This doesn’t work:




> For that matter you could use a text filter on a copy.
> 
> #! /usr/bin/env bash
> egrep -i "0B WohnZimmer";
> 
> Or
> 
> #! /usr/bin/env perl -sw
> while (<>) {if ( /0B WohnZimmer/ ) {print;}}

How do I use them? In the search - find - dialog and also choosing GREP?


> --
> Take Care,
> Chris

Thanks again!
Vlad

-- 
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