Matching Opening HTML Tags with Regex in JavaScript | CodeTrail