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


in reply to Regex: Strip <script> tags?

skx has beter advice, but as for the question as you posed it:
s/<script[^>]*>.*?<\/script>//igs;
should work. It accepts any characters that are not ">", up to the ">" that terminates the tag. It may not be the best solution to this particular problem, but it's a very handy regex idiom to have ready access to.