Build, test, and debug regular expressions
Matches any subdomain of example.com except those starting with 'api' or 'panel' (e.g., rejects api.example.com and panel.example.com but allows www.example.com). It uses a negative lookahead after a word boundary to exclude reserved subdomain names, with ^ and $ anchoring each line in multiline mode. Typically used in nginx server_name routing to implement a catch-all subdomain while excluding specific services. Note: [a-zA-z0-9] is likely a typo for [a-zA-Z0-9], accidentally including some extra symbols.