I need to extract the content of an HTML tag using RegEx. The body of text I'm searching looks like this:
<div class="content">
The Price is <script type="text/javascript">document.write(123())</script>
</div>
I tried to use this expression, but it fails. I need to extract the "document.write(123())"
(?s)<div class="content">[^<]*<script type="text/javascript">(.*?)</script></div>
How can I modify my expression to get what I'm after?