Test, validate and match regular expressions
Matches Telegram invitation or channel links in both short and full forms, including t.me, telegram.me, and the .dog alias domains. Optionally handles http/https protocols and www prefixes, and captures invite codes from joinchat/ paths or '+' prefixed private invite links. Useful for validating, extracting, or sanitizing Telegram share links in text processing, chat moderation, or link-parsing applications.