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: Fredric Fredricson <fredric.fredriksson@example.com>
 - Date: Tue, 05 Dec 2000 01:16:55 +0100
 - Content-Transfer-Encoding: 7bit
 - Content-Type: text/plain; charset=us-ascii
 - Organization: MYDATA automation AB
 - References: <20001204133053G.poulin@example.com>
 - Reply-To: tlug@example.com
 - Resent-From: tlug@example.com
 - Resent-Message-ID: <BO-fjC.A.1OC.XQDL6@example.com>
 - Resent-Sender: tlug-request@example.com
 - Sender: fredric@example.com
 
"Drew C. Poulin" wrote: > > while (<>) { > s/diff .*?\n//ig; #delete lines beginning with diff(sp) > s/[0-9].*?\n//ig; Deletes all between a number and \n (like the "3>" part) > s/\^M//ig; > s/<.*?>//ig; Does not match, since the "3>" is already removed. > print; > > } /Fredric Fredricson Btw, the i switch is meaningless for all but the first statement and the "s/\^M//ig" looks kind of weird. Do you mean "s/\r//g" ?
- Follow-Ups:
 
- Re: stripping HTML tags with Perl
 
- From: "Drew C. Poulin" <poulin@example.com>
 - Re: stripping HTML tags with Perl
 
- From: "Drew C. Poulin" <poulin@example.com>
 
- References:
 
- stripping HTML tags with Perl
 
- From: "Drew C. Poulin" <poulin@example.com>
 Home | Main Index | Thread Index
- Prev by Date: 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