Phone number Regular expression (support mobile phone number, 3-4-digit area code, 7-8-digit live number, 1-4 non-transposition machine number)
The code is as follows
Copy Code
((d{11}) |^ ((d{7,8}) |
Mobile phone number
Mobile phone name has GSM: said only support China Unicom or mobile 2G (130, 131, 132, 134, 135, 136, 137, 138, 139, 145, 147, 150, 151, 152, 155, 156, 157, 158, 159, 182, 185, 186, 187, 188)
Mobile phone name has CDMA: only support China Telecom 2G segment (133, 153, 180, 181, 189)
The name of t
If you want to do a cell phone number verification, then we need to know the number of mobile phone number section.//Mobile number Attribution support Segment: 134 135 136 137 138 139 147 151 152 157 158 159 178 183 184 187 188
C
To block the middle segment of the phone number, first know the regular expression of the phone number.First look at the regular expression of the PHP match phone number.Regular expressions that match a fixed phone are:/(0[0-9]{2,3}[\-]? [2-9] [0-9] {6,7} [\-]? [0-9]?) /IThe
This article mainly introduces the Regular Expression of mobile phone numbers verified by js. If you need a friend, please refer to it. I hope to help you with the following regular expressions for mobile phone numbers verified by js. I have collected them from the Internet, but they are all excellent products, professional verification of mobile phone numbers an
Mobile phone numbers are not available for all. Just a part of it can get. This is due to the fact that the mobile operator does not write data from the mobile phone number to the SIM card. The SIM card only has the unique number, for the network and the device recognition that is the IMSI
JavaScript Tutorial Phone number verification
The following check function, if the phone number is valid. At first we used the regular expression and the replace () method
To clear any interval character. Next, we use the isNaN () function to check that the phone
Phone number format: 0574-12345678,0574-12345678-2,12345678,0556-1234567,021-12345678Fixed-line except for the following areas are 8, other areas of the city's ordinary civil numbers are 7As of September 2009, a total of 19 provinces and municipalities in the number of 51 cities and towns have risen to 8 places
Beijing 010 Shanghai 021 Tianjin 022 Chongqing Munic
The first one:
Copy Code code as follows:
function Checkreg ()
{
Verify the phone number of the phone number, including section 153,159
if (document.form.phone.value== "" document.form.usermobile.value== "") {
Alert ("Phone
The user did not write the local number into the SIM card.
Once you write your local phone number into your SIM card, you can use at + cnum to find the number of your mobile phone number.
Action command returns the msisdns relate
characters to replace.
Positive number-The length of the string being replaced
Negative numbers-the number of replaced characters starting at the end of the string
0-Insert rather than replace
Use instance:
Copy Code code as follows:
[Code]
echo strlen ($idcard) ==15?substr_replace ($idcard, "* * *", 8,4):(strlen ($idcard) ==18?substr_replace ($idcard, "* * *", 10,4): "ID
The phone serial number (IMEI) is stored in the phone's EEPROM (also known as the serial number). Each mobile device corresponds to a unique IMEI. The structure is TAC (6 digits) + FAC (two digits) + SNR (6 digits) + SP (1 digit ). TAC (device model approval number), which is assigned by the European model Certificatio
Mobile phone ownership Query functionsearchmobilearea () { varphone=$.trim ($ ("#key_S"). Val (); if (Searchareamobilephonefromindex (phone)) {//Verify phone number searchmobilephoneguisuarea (phone)/search for the place where the handset belongs } } //Verification m
First code:
Copy Code code as follows:
function Checkreg ()
{
Verify the phone number of the phone number, including section 153,159
if (document.form.phone.value== "" document.form.usermobile.value== "") {
Alert ("Phone
Mobile phone operators in order to improve the utilization of the number, will be a number of long unused mobile phone number recycling, re-put number, sold to users, that is, we often encounter the purchase of a new mobile
Free lunch on the Internet is still available, although the weight is very small and can not be used as a dinner, but it is good to taste it. With the rapid development of VOIP over the past few years, many companies are developing their VoIP services, which are provided for free. Today, I found another free online phone. After testing, it is feasible. If you are interested, you can try it.
The use of this product is a little special. For everyone
In 12306 registered account will be reserved for mobile phone number, after the replacement of mobile phone number, need to modify in a timely manner in 12306, or purchase tickets after the ticket will not receive the notification message.
1, Baidu 12306, in search results find 12306 official website link, click to en
After login QQ account, we click the ldquo; settings rdquo; interface of the panel as shown in the picture.
And then in the pop-up ldquo; QQ System Setup rdquo; then we find ldquo; security settings rdquo; The following ldquo; modify password rdquo; as shown in the following figure
Okay, after we open it, we find ldquo;. QQ Safety Center rdquo; then find ldquo; Security Tools rdquo; then we'll find and click ldquo; Secret Phone change rdquo; det
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.