Keywords: JS Javascript Regular Expression verification international phone number mobile phone number
For example, if the Chinese international code is 0086, we want foreigners to contact us directly as follows: 008610-85912411, or, (008610) 85912411, (0086) 10-85912411, + 8610-85912411, + 86-10-85912411
UAE fixed phone number: + 971 4 2241288, + 971 is his international region number, and 4 is his country's local region number
London landline telephone + 44-7778-188 810,7778 should be the London area code
UK landline phone: + 44 (0) 208 908 5848,208 should be a local area code in China
France; + 353 87 9114696; + 353 is a French Code
The name card is written in this way. UK: + 44 (0) 793 0179-230
+ 44 (0) 793 017-9230
+ 44 (00) 7 0179 230
12
Egypt: (+ 20) 010 188 8486
0592-6054790
0592 6054790
1. Self-Help links;
2. The function of automatically becoming a member account option after the recruitment network registration is completed
3. Consortium plan banner
4. Filter phone numbers, mobile phone numbers, and URLs by rule
International area code :(? :\(? [0 \ +] \ D {2, 3 }\)?) [\ S-]? Example: (0086)-, + 353-, "(+ 20)", 0086-, where "(+ 20)" is followed by a space
China region no :(? :(? : \ (0 {1, 3 }\))? [0 \ D] {7778}) [\ s-] example: "010", 010-, 793-, (0) 208, (0,
Phone number :(? : [\ D] {7,8} | [\ D] {3,4} [\ s-] [\ D] {3,4}) Example: 2241288, "188 810", "0179 230", 0179-230, 017-9230,
International area code + domestic area code + telephone number :(? :\(? [0 \ +] \ D {2, 3 }\)?) [\ S-]? (? :(? : \ (0 {1, 3 }\))? [0 \ D] {1, 4}) [\ s-] (? : [\ D] {7,8} | [\ D] {3,4} [\ s-] [\ D] {3,4 })
The above phone number can basically match.
Chinese mobile phone: + 86013799265585
+ 86 0 13799265585
+ 86-0-13799265585
13799265585
U.S. mobile phone 1-626-2287211,1 is the U.S. area code
Call the U.S. phone number 001-626-2287211.
US mobile phone 1-626-2287211, complete expression: 001-626-2287211, Or, + 1-626-2287211
International area code :(? :\(? [0 \ +]? \ D {1, 3 }\)?) [\ S-]? Example: 001-, 1-, + 1 -,,,,,,,,,
China region no :(? : 0 | \ D {1, 4}) [\ s-]? Example: 0, "0", "0-", "626 -","",,
Mobile phone number :(? :\(? [0 \ +]? \ D {1, 3 }\)?) [\ S-]? (? : 0 | \ D {1, 4}) [\ s-]? (? :(? : 13 \ D {9}) | (? : \ D {7, 8 }))
The mobile phone regular expression can match the above format.
Temple