Я пытаюсь использовать регулярные выражения, чтобы удалить весь контент между двумя строками ...
Предположим, это мой контент:
<h2>Misrepresentation of the Facts</h2>
</script>
<!-- Articles - Leaderboard 728x90 -->
</iframe></ins></ins></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<h2>Who Can Commit the Crime</h2>
I want to remove all content between </script>
<!-- Articles - Leaderboard 728x90 -->
</iframe></ins></ins></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Любая помощь будет наиболее ценной.
<\/script>(?:[^<]*(?!.)+<\/script>
<\/script>(?:[^<]*(?!.)+<\/script>