Test, validate and match regular expressions
This regex extracts abbreviations or acronyms and their definitions from HTML paragraph structures. It matches a closing paragraph tag, an opening paragraph tag, then captures the term (lazily) until the next tag, followed by a colon or dash and the definition. It is useful for parsing glossary entries, acronym lists, or definition lists embedded in web pages.