Thanks for the hint.

http://www.perl.com/CPAN/authors/Tom_Christiansen/scripts/striphtml.gz
is pretty well explaned, it will help my regexp knowledge.

But if I want to keep some tags, or only remove some others I'll have to
play with some if $1 eq "foo" exit the regexp or I don't know.

Anyways I'll fool around a little

Etienne

Bob Showalter wrote:
> 
> > -----Original Message-----
> > From: Etienne Marcotte [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, November 13, 2001 2:44 PM
> > To: [EMAIL PROTECTED]
> > Subject: YARQ (Yet Another Regexp Question)
> >
> >
> > I saw somewhere on the web a good regexp for removing html tags. Can't
> > re-find it and it needed some minor mods.
> > ...
> 
> This is a FAQ.
> 
> perldoc -q 'How do I remove HTML from a string?'
> 
> regexes are just not the right tool for parsing HTML.
> 
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to