http://qs321.pair.com?node_id=5919


in reply to How can use Perl to strip away some nested HTML markup code, like <SCRIPT> ?

If you can get the whole page in one string, then you can use:

s/<script>.*?<\/script>//igs; Which will eat everything between <script> and </script> tags. (and the <script> and </script> tags as well)