Build, test, and debug regular expressions
This regex matches PEM-formatted public key blocks, including the header and footer lines (e.g., '-----BEGIN PUBLIC KEY-----' and '-----END PUBLIC KEY-----'). It validates the base64 payload between them, allowing line breaks and up to 64 characters per line. Useful for extracting or verifying public keys from key files, certificates, or configuration files.