Test, validate and match regular expressions
This regex matches opening and closing `<link>` tags and captures any content found between them into a group. It uses non-greedy quantifiers to ensure it stops at the first closing tag it encounters. This pattern is commonly used for simple HTML or XML parsing to extract the inner text of specific elements across a multiline string.