Test, validate and match regular expressions
Matches Wikipedia article URLs (e.g., https://en.wikipedia.org/wiki/Title or /w/index.php?title=Title) and extracts the article title into the named capture group ARTICLENAME. The protocol and domain are optional, so both absolute URLs and relative wiki paths work. A negative lookahead excludes non-article namespaces such as User:, File:, Template:, Talk:, Special:, and Main_Page, ensuring only actual encyclopedia articles match. Useful for URL validation, link parsing, and web scraping tasks.