I have the following html
variable containing:
"
...
<section>
aaa
</section>
...
"
Using:
var output = html.match(/<section>.*[\r\n]*[\n]*<\/section>/g);
Gives me a null
value. I basically want to get all substrings that are in between section tags, given that there are line breaks in between them.
Any clue on why this is not working? Thanks!