![]() |
|
We don't bite newbies here... much | |
PerlMonks |
•Re: Answer: How can use Perl to strip away some nested HTML markup code, like <SCRIPT> ?by merlyn (Sage) |
on Oct 15, 2003 at 15:02 UTC ( #299430=note: print w/replies, xml ) | Need Help?? |
Sure, that works for simple HTML, but real life HTML can fail on such a simple regex. For example:
In that case, "this is still the comment" would be left within the output, when it shouldn't be. -- Randal L. Schwartz, Perl hacker
In Section
Seekers of Perl Wisdom
|
|