joi regex validate code example Example: joi regex validate Joi.string().regex(/^[a-zA-Z0-9_][a-zA-Z0-9_.]*/)