I have a string with contents like this:
/*
<h1>some text</h1>
<div>more stuff $${}{} etc </div>
*/
I'm trying to get everything between /*
and */
Currently:
string.match(/[^\/\*](.*)[(\*\/)$]/g);
Why doesn't this regex work?