Test, validate and match regular expressions
This regex matches Discord custom emojis in the format `:emoji_name:` and Markdown-style embeds/links in the format `[text](url)`. It's useful for parsing Discord messages to extract emojis and linked content, commonly used in chatbots or message analysis tools. The multiline flag ensures it works correctly across multiple lines of text.