Test, validate and match regular expressions
This regex matches the content inside <name> tags, capturing everything between <name> and </name> as long as it does not contain a '<' character. It is useful for simple XML or HTML parsing, extracting name fields from structured documents, or isolating specific tagged values in text files. The non-greedy quantifier ensures the shortest match, making it effective when multiple name tags appear in a line.