> On Apr 27, 2019, at 10:01, Phil Emery <[email protected]> wrote: > > thanks. I assumed as BBEdit could detect the div (you click on the start of > Main-content and it selects everything till the close tag) that it could do > this. The html is very well formatted as it's an export from a Hubspot > website.
Sorry but balancing tags is a separate action that does require parsing the HTML, whereas grep searches are governed by the standard rules for regular expression matching, which (as Sam mentioned :-) are not well-suited to parsing HTML. If however your files contain any distinct content immediately after the "main-content" div, it may be possible to construct a search which keys on that content, or perhaps there may be some other way to come to grips with the task -- either way, an actual sample file would be helpful. :-) Regards, Patrick Woolsey == Bare Bones Software, Inc. <https://www.barebones.com/> -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <https://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]. Visit this group at https://groups.google.com/group/bbedit.
