http://www.perlmonks.org?node_id=202098


in reply to Re: Regex help
in thread Regex help

You mean  (.*?)

Actually you don't need parenthesis:

s/<script>.*?<\/script>//sg;