RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Vietnam Mobile Phone Number
Expression
^[0]{1}[19]{1}[0-9]{8,9}$
Description
Ðây là b?n R.E cho d?u s? di?n tho?i di d?ng c?a Vi?t Nam. Trong bi?u th?c quy d?nh s? di?n tho?i ph?i: - B?t d?u là s? 0 (VD:091,092,0122,0186,099...) - S? ? v? trí th? 2 ph?i là s? 1 ho?c 9 (mình nh? k l?m ch? có 2 lo?i này (VD: 091,092,0122,0186...) - Các s? còn l?i thì có th? ch?y t? 0 d?n 9 nhung gi?i h?n t? 8 d?n 9 s? d? c?ng thêm 2 s? check lúc d?u tr? thành s? dt d?ng 10 s? (0909.123.456) hay 11 s? (0123.123.4567) ============================= This is the RE for the mobile phone number of Vietnam. In the expression specified telephone number to: - Starting with the number 0 (Eg 091,092,0122,0186,099 ...) - 2nd number is number from 1 or 9 (if I don't have mistakes for remember this one) (Eg 091,092,0122,0186 ...) - The remaining numbers can flow from 0 to 9 but limited to 8 to 9 numbers for plus a check at the first two numbers become 10-digit number DT (0909.123.456) or No. 11 (0123.123.4567) Good Luck...and discuss
Matches
0909123456, 01231234567
Non-Matches
0009123456, 0909123456111, 03231234567, 01231234567134
Author Rating: The rating for this expression. pacdffgsvdrlub
Source TommyDo
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials