validation check on numbers based on dial code