now my code is not 100% correct way to verify mobile number exactly, update soon now i checked some condition to conform given number given number is mobile number. condition 1 : given numbers must be only 0 to 9 or + or empty space . above the condition is true, then only checks the next conditions . otherwise return characters and characters spl are not allow . condition 2 : my second condition is checks the length of the given numbers, the length should be 10, then only enter in condition 2.
Comment
Sign in to join the discussion.
Loading comments…