China's mainland operators of mobile phone number standard format is: Country code + mobile phone number, such as: 8613912345678. Features such as the following:1. length 13;2. Begin with 86 of the country code;3. Each digit of the mobile phone
I created a list of contacts using Excel. But I found a problem with the display of a phone number leading zero. When you enter "090", the result becomes "90". Why?
Put
this picture away.
expand this picture
If no leading zeros are displayed, the result is not a correct phone number.
Open the micro-letter, enter the chat page, and then click on the Mobile Phone page in the upper right corner button, select "Settings" in the menu that appears
Next, click "My Account" on the page that appears.
Click on the item "mobile number"
And then on the phone that appears, click the button on the top right corner
Copy codeThe Code is as follows:Function checkMobile (){Var sMobile = document. mobileform. mobile. valueIf (! (/^ 1 [3 | 4 | 5 | 8] [0-9] \ d {4, 8} $/. test (sMobile ))){Alert ("the first seven digits of a complete 11-digit mobile phone number or a correct mobile phone number ");Document. mobileform. mobile. focus ()
(China mainland Mobile 134,135,136,137,138,139,150,151,157,158,159 number section, China Unicom's 130,131,132,133,153,155,156 number segment and the Chinese telecom 3G mobile phone number paragraph 188, China netcom 3G Mobile phone numbe
recently in the National Industry Classification information web site, need to use the mobile phone number ownership display function, so the shuttle in the major authoritative sites between the API to steal the interface address. Share it out, and you can use it to take it, uh, Free mobile phone number attribution of
This article summarizes two commonly used mobile phone home location query programs. One is to use APIs to call third-party interfaces, and the other is to use our own mobile phone database to query and then judge the mobile phone number home location query.
First, let's look at a program that calls the third method we
Mobile phone numbers are not all available. Only a part of it can be obtained.This is because the mobile operator does not write data from the mobile phone number to the SIM card. The SIM card has only a unique number. For network and equipment identification that is the IMSI numbe
Use JavaScript to verify the regular expression of the mobile phone number. The Code is as follows:
Function checkMobile () {var phone = document. getElementById ("phone"). value; var reg0 =/^ 13 \ d {5, 9} $/; // 130--139. At least 7-bit var reg1 =/^ 153 \ d {8} $/; // China Unicom 153. At least 7 bits var reg2 =/^ 1
A simple demo, from aggregation data to apply for mobile phone number attribution to the data interface;
Enter the query number in the EditText, get the number and use HttpURLConnection to get the JSON data in the child thread, then parse;
After data acquisition is complete, update the UI in the main thread to show t
Drip travel to change mobile phone number must be old phone to accept the verification code can be replaced Oh, otherwise this method can not change the mobile phone number OH.
If you are using a micro-end login method as follows:
The first step: on the
To the users of micro-credit software to detailed analysis to share the micro-letter to change the mobile phone number of procedures for the course.
Tutorial Sharing:
1, with the phone to open the micro-letter, with your micro-signal and independent password login micro-letter, login, enter the personal center, click on my account.
2, into the A
Verify the email core code as follows
The code is as follows
Copy Code
function Isemail (input) {var reg =/^w+ (-w+) | (. w+)) *@[a-za-z0-9]+ ((. | -) [a-za-z0-9]+] *. [a-za-z]+$/;return reg.test (input);} Cases
Verify the phone number
The code is as follows
Copy Code
function IsMobile (input) {var reg=/^ (13[0-9]|15[0|3|6|7|8| 9]|18[8|9])
The cell phone number attribution query code is a PHP open source phone Attribution query system, the system does not rely on large databases such as MySQL, but rely on text, because, generally a mobile phone number, in the query system, the decision is the first 7 bits
Cell
This article is also a collection of a large number of JS verification of mobile phone number code, all from the network, if you are not very understanding, you can directly take us now mobile phone number verification code to use OH.
JS Verify mobile
PHP allows you to share user-defined functions hidden by asterisks (*) with four digits in the middle of a mobile phone number.
Php shields four phone numbers in the middle:
Copy codeThe Code is as follows:Method 1:Function hidtel ($ phone ){$ IsWhat = preg_match ('/(0 [0-9] {2, 3} [\-]? [2-9] [0-9] {6, 7} [\-]? [0-9]?
Copy the code as follows:
1. php mobile phone number verification (supporting local query and encoding UTF8) _ PHP Tutorial
Description: php verifies the mobile phone number (which can be found by region and encoded as UTF8 ). The code is as follows :? Php // mobile phone
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.