For example, if I have this code:
<!--start-here-->
<div>My Cool Content!!!</div>
<h1>Headerrr</h1>
<!--end-here-->
<div>Other Content</div>
How can I use a regular expression to just get the content between <–start-here–> and <–end-here–>?
So my output would be:
<div>My Cool Content!!!</div>
<h1>Headerrr</h1>
You don’t need regex
or with regex