Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Refactoring Regular Expressionsby chromatic (Archbishop) |
on Apr 25, 2007 at 06:14 UTC ( [id://611922]=note: print w/replies, xml ) | Need Help?? |
How "essentially HTML" is this HTML? If it's actually HTML, I would instead decode it then use HTML::Strip to remove the HTML. Writing a reliable regular expression to parse potentially nested tags properly is difficult.
In Section
Seekers of Perl Wisdom
|
|