RXACT 6 NUMBER PANJANG DALAM VALIDASI YUP
Yup.string()
.required()
.matches(/^[0-9]+$/, "Must be only digits")
.min(5, 'Must be exactly 5 digits')
.max(5, 'Must be exactly 5 digits')
Prince Agrahari