Share via


Possible vb.net Regex expressions to validate phone numbers?

Question

Thursday, March 5, 2015 3:53 PM

I was wondering about the proper way to validate phone numbers using regex in vb.net applications. What's the proper expression to use in order to validate us phone numbers?

Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog - http://www.computerprofessions.co.nr

All replies (2)

Thursday, March 5, 2015 3:58 PM âś…Answered | 2 votes

See this question on StackOverflow stackoverflow.com/questions/16699007/regular-expression-to-match-standard-10-digit-phone-number


Thursday, March 5, 2015 8:39 PM

See this question on StackOverflow stackoverflow.com/questions/16699007/regular-expression-to-match-standard-10-digit-phone-number

Thanks blackwood that solved my question.

Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog - http://www.computerprofessions.co.nr