Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing html tags



on 28/2/05 10:31 am, Paff at email@hidden wrote:

> I want to remove all html tags from a document downloaded with curl
> utility. I want to remove everything that is between <> characters
> (including <> chars) so I end up with plain text. Example: if in a
> document there's "<title>BOS Bank</title>" I'd like to get only "BOS
> Bank"; if there's "<TD class="tabelka01" rowspan="2"
> align="center">Kod</TD>" I want to get only "Kod" string etc.
> 
> However, I have no idea how to do that. I've searched macsripter.net and
> tried google but with no luck.

You didn't Google very well then as this stuff is covered on the Apple site:

"Removing Markup Codes From Text"
<http://www.apple.com/applescript/guidebook/sbrt/pgs/sbrt.04.htm>

Regards

-- 
Martin Orpen


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden

References: 
 >Removing html tags (From: Paff <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.