Test, validate and match regular expressions
This regular expression rigorously validates email addresses according to the RFC 2822 standard. It supports complex local parts, including dot-separated atoms, quoted strings, and escaped characters. The domain section allows standard domain names as well as bracketed IP address literals. It is ideal for strict email validation where compliance with the official specification is required.