Test, validate and match regular expressions
Matches HTML label elements that contain the attribute data-html="NewItem", capturing that attribute in group 1. The lazy quantifiers ensure it finds the shortest span from an opening <label> tag through its closing </label> tag. Commonly used to locate, extract, or replace specific labeled elements in markup, such as content injection or templating tasks.