On Sat, Mar 2, 2013 at 12:38 PM, Nick <[email protected]> wrote:
> I need to extract the URLs from a large number of HTML files. Basically,
> take something like this:
>
> <ul>
>
> <li><a href="http://www.youtube.com"; class="youtube">YouTube</a></li>
> <li><a href="http://www.facebook.com"; class="facebook">Facebook</a></li>
> <li><a href="http://www.twitter.com"; class="twitter">Twitter</a></li>
> </ul>
>
> And output this:
> http://www.youtube.com
> http://www.facebook.com
> http://www.twitter.com

The inefficient way I'd do it is:

1] replace all " with \r (puts each URL on its own line)
2] Text menu - Process lines containing http:// (put in a new document)

Done.

Cheers,

Miraz

-- 
-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to