On Sep 10, 2015, at 11:37, J Hall <jhal...@gmail.com> wrote:
> I have header and footer information that I need to kill.
> 
> The header starts with
> 
> <!-- Begin Action Control bar. -->
> and ends 150 lines later with
> <!-- End Action Control bar. -->
______________________________________________________________________

Hey There,

As has been mentioned BBEdit doesn't do multi-line by default.

You have to adjust the pattern.

Find:

(?s)<!-- Begin Action Control bar\. -->.+?<!-- End Action Control bar. -->

Explanation:

(?s) == Magic Dot - allows . to match \r and \n

Find:

(?s)<!-- Begin bottom list action bar\. -->.+?<!-- end tocCart -->

Explanation:

.+? == Any character 1 or more non-greedy or the shortest match.
Grep normally looks for the longest match.

--
Best Regards,
Chris


-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" 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 bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.

Reply via email to