xxxxxxxxxx
// must contain numbers
Joi.string().pattern(/^\d+$/);
// must not contain numbers
Joi.string().pattern(/^\d+$/, { invert: true }); // invert: true to match the oppposite
// check:
https://joi.dev/api/?v=17.13.3#stringpatternregex-name--options---aliases-regex