<script(?:[^>]*\stype="(?:application|text)/javascript")?[^>]*>(.*?)</script>
https://www.regexplanet.com/share/index.html?share=yyyypztzx6r