RFC 5322 regex code example Example: regex to validate email # Python r"(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$)"