Test, validate and match regular expressions
Matches complete HTML <script> tags containing both id="body" and type="text/template" attributes, including all inner content up to the closing </script> tag. Commonly used to extract client-side templates embedded in HTML documents, such as those used by frameworks like Handlebars or Underscore.js. Note that the greedy [\s\S]* quantifier will match up to the last closing script tag in the document rather than the nearest one, which can cause over-matching when multiple script tags exist.