<Validate valid phone number entry> I want to figu...
# stackoverflow
u
Validate valid phone number entry I want to figure out invalid phone numbers entered in edittext before hitting the OTP api. Invalid phone numbers pattern may looks like these patterns +91-0000000000 / +91-0000000011 / +91-1234567890 ...and so on. Already added a check to validate invalid phone number but it didn't helps in detecting invalid patterns of phone numbers which can't exist. private boolean isValidMobile(String phone) { return android.util.Patterns.PHONE.matcher(phone).matches(); } Anyone please suggest how...