Build, test, and debug regular expressions
Matches Brazilian telephone numbers with flexible formatting, accommodating optional area codes in parentheses (e.g., (11)), optional spaces, and optional hyphens. It supports both 8-digit and 9-digit local numbers (e.g., 1234-5678 or 12345-6789). Useful for validating or extracting Brazilian phone numbers from text with varying formats.