Regex Joi E -mail

email: Joi.string().email({ minDomainSegments: 2, tlds: { allow: ['com', 'net'] } })
Joyous Jackal