There's more than one way to do things | |
PerlMonks |
Re: Strip HTML tagsby davorg (Chancellor) |
on Dec 15, 2000 at 13:49 UTC ( [id://46816]=note: print w/replies, xml ) | Need Help?? |
As discussed on many threads recently, this kind of work is really better left to the professionals - which in this case is HTML::Parser and its subclasses. Any regex-based solution is bound to break at some point as your HTML gets more complex. --<http://www.dave.org.uk>
"Perl makes the fun jobs fun
In Section
Cool Uses for Perl
|
|