On May 25, 2013, at 1:13 PM, Rob Lewis <[email protected]> wrote:

> Never tried any of BBEdit's fancier features. What would be the best way to 
> take a file of HTML and extract just the code between the following tag 
> pairs: 
> 
> <p itemprop="articleBody"> and </p>
> 
> There may be multiple blocks like this in the file. 

Obviously, you want an automated way to do this - but here's a manual one.

Search for "<p itemprop="articleBody">".
Make sure it's at the start of a line (insert a NL before it if necessary).
Click on the "disclosure triangle" in the gutter, folding up that section of 
HTML.
Select the blob between the start and end tags; the one that looks like a grey 
"…".
Copy. Switch to new window. Paste.

Voila!

-- Marshall

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