Build, test, and debug regular expressions
Parses WordPress-style shortcodes with optional attributes and enclosed content. Matches patterns like [gallery] or [caption id="1" align="center"]Inner HTML[/caption], capturing the shortcode name (3+ word/hyphen characters), attribute strings, and the wrapped HTML content between opening and closing tags. Useful for extracting and processing shortcode markup in CMS content, template engines, or custom BBCode-like syntax parsers.