The great God asks for the complete cell phone number regular expression
Reply content:
The great God asks for the complete cell phone number regular expression
^13[0-9]{9}|15012356789{8}|180256789{8}|147[0-9]{8}$
/^ ((13
According to the mobile phone number to query the user's card type, operator, attribution, region and other information.Mobile phone attribution to entity classPackage org.wx.xhelper.model;/** * Phone Attribution * @author WANGXW * @version 1.0 * @date Jul 9, 4:03:04 PM */public class Pho Nebelong {//
;fjdaioejai13165789098js; Fkds ' Afje;wjadfs;fk;dsafjew;fds;afjaw;jidsakldjasf;ldjsafnd;safjkeal;fjdsa;lfjweif;fai;jfiw;afjadl;sjfadls; fjnds;ang;ljggf[aofeo[pfjeoif15949860766
OK, now please type in the text box above the test tool \d{9,} ,OK, you can see that all the phones are out! (Of course, I have a number of phone calls, complex techniques we will discuss later)Let's explain the above expression
1, we open in the mobile phone interface to sing 7.2.1 software, and then find "my singing bar" into the click "Avatar" button,
2, then open into the interface, we click on the "Personal Center" to enter and then click the "Edit Data" button,
3, in the Personal information interface, click on the mobile phone number, no binding
Cell phone number format regular expression
Match domestic phone number: D{3}-d{8}¦d{4}-d{7}Commentary: Match form such as 0511-4405222 or 021-87888822
The front-end code I use Jquery.validate.js, the code is as follows:
JavaScript code
This is only an inexact verif
This article illustrates the method of jquery to realize the number selection of mobile phone numbers. Share to everyone for your reference. Specifically as follows:
Some time ago to see the free combination of Unicom package is very tempting and decided to change the number, but the number was a very tiring job. In t
Converts a 12-bit cell phone number (11 digits before 0, such as 013482339442), converting 12 to 8421 yards, and then combining them into 6 byte arrays, tentatively named BCD6, the conversion method is as follows:
Using System;
Using System.Collections.Generic;
Using System.Linq;
Using System.Text;
Namespace Consoledemo
{public
class BCD6
{public
could also being the input for the word "GDJJM", but since this is no sensible 中文版 word, it can safely be Ignored. By ruling-all other "improbable" solutions and only taking proper 中文版 words into account, this method can speed up Writing of short messages considerably. Of course, if the word is ' not ' in the ' Dictionary ' (like a name) then it have to be typed in manually using key repetition Aga In.
Figure 8:the Number-keys of a mobile
, this could also being the input for the word "GDJJM", but since this is no sensible 中文版 word, it can safely be Ignored. By ruling-all other "improbable" solutions and only taking proper 中文版 words into account, this method can speed up Writing of short messages considerably. Of course, if the word is ' not ' in the ' Dictionary ' (like a name) then it have to be typed in manually using key repetition Aga In.
Figure 8:the Number-keys of a mobile
. h file[OBJC] view plain copy
"FONT-SIZE:18PX;" > /**
* Turn into an asterisk tool
*/
@interface Asterisktool:nsobject
//Turn the phone number 第4-7位 into an asterisk
+ (nsstring *) Phonenumtoasterisk: (nsstring*) Phonenum;
//Turn the phone number 第5-14位 into an asterisk
+ (nsstring *) Idcardto
Introduction of API Store
API store is an API aggregation platform that can provide a variety of data services to the outside, more representative of the Dev store, Baidu API store and aggregated data, and so on, such services through the provision of the rest API interface to expose to third party developers.API Store provides many types of data services, there are common life, application development, financial management, travel tickets and other APIs, but some interfaces are charged, but al
Large data mining, where call logging is a very important real-time data. In order to do experiments, often need to generate random phone number.
In order to generate the related records of random mobile phone number quickly in a single computer environment, using C #, the main follow-up can directly use its multi-cor
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.