Resolved Getting a mobile number from a user

WB1975

Well-known member
Joined
Apr 3, 2020
Messages
87
Programming Experience
Beginner
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?
 
Last edited by a moderator:
Back
Top Bottom