troubles matching multiline HTML chunk
Posted: Tue Sep 01, 2009 5:52 pm
I want to match this:
This is the regex i thought of but it doesn't match anything... why?
Code: Select all
<!-- THE BEGINNING -->
<div class="whatever">
<p>Some <u>Random</u> HTML in here</p>
</div>
<!-- THE END -->
Code: Select all
|<!--\sTHE\sBEGINNING\s-->.*?<!--\sTHE\sEND\s-->|m