yup.string() .required("Please enter the required field") .matches(/^[aA-zZs]+$/, "Only alphabets are allowed for this field ")