if i wanted a user to enter a mobile number in a console application
so the user can only input
011 086 087 to start and then 7 digits after that
so as in 0142223434
would it be best done with regular expressions? or is there a better way?
so the user can only input
011 086 087 to start and then 7 digits after that
so as in 0142223434
would it be best done with regular expressions? or is there a better way?
Last edited by a moderator: