This article summarizes two commonly used mobile phone attribution query program, one is to use API call third-party interface implementation, one is to use our own mobile phone database query and then judge the cell phone number attribution to query.
Let's take a look at a program that calls the third method Web site
This article is mainly to share the PHP extract string in the mobile phone number implementation code, PHP through the regular expression of the string to extract the phone number and judge the operator, simple and quick and convenient, can extract multiple mobile
Common Regular matching expressions
Regular expression--verification of mobile phone number: 13[0-9]{9}
To achieve the mobile phone number 86 or +86 before: ^ (\+86) | (86))? (\d{9}$)
The phone number and mobile
serial number and device identification Udid code phone direct Access1 Device Identification Udid code get: Http://fir.im/udid or the direct phone comes with the browser to enter the site link can also.Open the link click on the top right corner 3 Click on the open in Safari
Let's take a look at the match usage in jquery.
String.match (Regular)
It looks the same as JS.
The regular rules for the phone number and the email we'll see.
Cell phone number Regular: ^ (((13[0-9]{1}) |159|153) +d{8})
Email address Regular: w+ (-w+) | (. w+)) *@[a-za-z0-9]+ ((. | -) [a-za-z0-9]+] *. [A-za-z0-9]
:i/system.out (952): SubscriberId (IMSI) = 46000xxxxxxxx4674So let's explain what the above information means.Getnativephonenumber Get the phone numberDeviceId (IMEI) Mobile International Mobile Subscriber IDNetworkoperator Mobile operator numberNetworkoperatorname Mobile operator NameSimserialnumber simoperator simcountryiso simserialnumber SubscriberId (IMSI) Some details about mobile SIM cardIn fact, the code
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
This article describes the JS and jquery verified e-mail, mobile phone number, zip code method.
jquery Code:
Verify ZIP code
$ ("#postcode"). blur (function () {
//Get Postal code
var postcode=$ ("#postcode"). Val ()
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
: This article describes php regular expression verification (email address, Url address, phone number, and zip code). If you are interested in PHP tutorials, refer to it. The content to be verified in this example is as follows: email address, Url address, phone number, and
Php Regular Expression verification (email address, Url address, phone number, zip code), regular expression url
Content to be verified in this example:Email Address, Url address, phone number, zip codeThe verification method is shared with you for your reference. The detail
Use JS Regular expression to verify the phone number, email address, zip code. Need friends can come to the reference, I hope to help you. Cell phone number verification (13 opening and 158,159 beginning, total 11 bits) nbsp; code
This mobile phone number attribution query code is a php open-source mobile phone attribution query system, the system does not rely on mysql and other large databases, but rely on text, because, generally, a mobile phone number,
verification of mobile phone number (13 start and 158,159, total 11 digits) var Ss=document.getelementbyid (' TextBox3 '). Value;var re=/^ (13[0-9]{9}) | (15[89][0-9]{8}) $/if (Re.test (ss)){document.getElementById (' Label3 '). innertext= ""; Assigning a value to a label with innertext}Else{document.getElementById (' Label3 '). innertext= "Please enter the correct mobile
/^d{3,4}-d{7,8} (-d{3,4})? The $/area code must be filled with a 3-4-digit number, followed by "-" to connect to the phone number
^d{3,4}-number with 7-8 digits
d{7,8} extension number
Angularjs + ionic registration page form verification (mobile phone number, Confirm Password, re-Send verification code after 60 s), angularjsionicOn the registration page of the created tabs and route, html:
Function:
The mobile phone number and password format are verifi
This article introduces the use of jquery to verify the mailbox, verify the mobile phone number, the specific implementation of ideas and code as follows, interested friends can learn to
copy code code as follows:
//jquery Verify mailbox Function Checksubmitemail () { i
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.