Build, test, and debug regular expressions
This regex validates email addresses according to a common pattern, allowing either a dot-separated local part or a quoted string, and a domain that is either an IPv4 address literal (like [192.168.1.1]) or a standard domain name with at least two letters. It is useful for client-side or server-side form validation to ensure a reasonable email format before submission.