Hi

Long time BBEditer (v3) here.

In the past I've eventually gotten Grep to do some pretty cool things, but 
this is a bit out of my expertise -- not being a programmer.

I have a folder full of html pages (.html). Each file has a lot of stuff we 
don't need. Every page has content within a div called "main-content". The 
only stuff we need is within that div.

I'm pretty sure that via some fancy Grep-ing it could delete everything out 
of those files EXCEPT what's contained within the "main-content" div. But I 
can't figure it out.

I was hoping there was a "Grep builder" on the web somewhere but there 
doesn't seem to be one that I can find.

Any help would be greatly appreciated.

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

Reply via email to