Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: stripping HTML tags with Perl
- To: tlug@example.com
- Subject: Re: stripping HTML tags with Perl
- From: Viktor Pavlenko <vp@example.com>
- Date: Tue, 5 Dec 2000 11:07:29 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <14892.18933.990298.358983@example.com>
- References: <20001204133053G.poulin@example.com><14892.18933.990298.358983@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <V6K4T.A.2YC.O0EL6@example.com>
- Resent-Sender: tlug-request@example.com
>>>>> On Tue, 5 Dec 2000 10:50:45 +0900, "Stephen J. Turnbull" <turnbull@example.com> said: SJT> You really want "<[^>]+>" (delete anything bracketed by "<>" SJT> containing some text which doesn't contain ">"). This avoids SJT> trashing the Pascal inequality test "<>" which is not a legal SJT> tag, but will fail miserably on stuff like SJT> <address default="<phb@example.com>"> SJT> which may or may not be legal HTML. So, use s/<\/?[^>]+>//g to get rid of all html tags Viktor
- Follow-Ups:
- Re: stripping HTML tags with Perl
- From: "Stephen J. Turnbull" <turnbull@example.com>
- References:
- stripping HTML tags with Perl
- From: "Drew C. Poulin" <poulin@example.com>
- stripping HTML tags with Perl
- From: "Stephen J. Turnbull" <turnbull@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: stripping HTML tags with Perl
- Next by Date: Re: stripping HTML tags with Perl
- Prev by thread: stripping HTML tags with Perl
- Next by thread: Re: stripping HTML tags with Perl
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links