⭐ in reply to How can use Perl to strip away some nested HTML markup code, like <SCRIPT> ?
s/<script>.*?<\/script>//igs; Which will eat everything between <script> and </script> tags. (and the <script> and </script> tags as well) [download]