Read about at t cell phone voicemail number, The latest news, videos, and discussion topics about at t cell phone voicemail number from alibabacloud.com
search with a good index index, the hit time is about the same (MySQL hits 0.0188s), but the efficiency of multiple queries is better than using the Key-value database. Of course, the choice of database or bitmap and bit vector method to filter the specific also depends on the production environment and requirements. I have no intention here to be better than the two methods of superiority . The Bloomfilter algorithm uses PHP's Bitset module, and if you're not sure, check out my previous articl
database has seven fields: Id (identifier), Startno (start number), Endno (ending number), Sheng (Number of provinces, autonomous regions or municipalities), Shi (number City), Tmobile (operator), Cardtype (type of card).
Finally, add two using commands in the form Form1.cs page: Using System.IO and Using System.Data
Copy Code code as follows:
function Checkmobile () {
var smobile = Document.mobileform.mobile.value
if (!) ( /^1[3|4|5|8][0-9]\d{4,8}$/.test (Smobile))) {
Alert ("Not a full 11-digit cell phone number or the correct number of the top seven");
Document.mobileform.mobile.focus ();
return false;
}
}
The code is as follows
function Funcmtel ($STR)//mobile number Regular expression test
{
Return (Preg_match ("/(?: 13d{1}|15[03689]) d{8}$/", $str))? True:false;
}
Test
18678785887
Return to
False
Cause analysis, see the discovery that the above is only validated with 13, 15, the beginning of the natural 18 is not available
After modification
The code is as follows
function Funcmtel ($STR)//mobile numb
Use: Determine the cell phone number in the input box
Input: S: string(1) The telephone number shall consist of numbers, "(") "and"-"(2) Phone number is 3 to 8 digits(3) If the phone
Because we usually use the beep of a taxi is on the micro-letter landing, if you want to change the tick-tock phone-bound mobile number, we need to modify the micro-letter binding mobile phone number. Then you can change your phone numbe
Ask to avoid the problem that the xls file phone number exported by phpexcel and the ID card are displayed in scientific notation! Phpexcel is used for export in recent projects, which is relatively good, but there are several headaches, that is, when exporting data columns, data of the type 013434342333, 053482371284, and 42221312312312312312213 is automatically displayed in scientific notation. for detail
This article mainly introduces the JS combined with the realization of the domestic mobile phone number section check method and the use of JS and jquery to achieve a simple check cell phone number of examples, very simple and practical, the need for small partners can refer
:
⒈ This statistic cannot be resolved using common methods such as functions, PivotTable reports, and so on. I used the VBA programming to implement the statistics.
⒉ first of all users of the phone (do not repeat, repeat only once), extracted out into the statistical results table. The phone in the result table is unique.
⒊ based on the phone
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
Append a Utils object, containing a check cell function, a formatted return data function
var ischinamobile =/^134[0-8]\d{7}$|^ (?: 13[5-9]|147|15[0-27-9]|178|18[2-478]) \d{8}$/; Mobile aspect of the latest response var ischinaunion =/^ (?: 13[0-2]|145|15[56]|176|18[56]) \d{8}$/; To Unicom micro-blog confirmed did not respond to var ischinatelcom =/^ (?: 133|153|177|18[019]) \d{8}$/; Section 1349th Telecommunications did not give a response, as
$ Str = checkMobile (15800000001 ″);
If ($ str)
{
Echo ("compliant with mobile phone number Standards ");
}
Else
{
Echo ("not compliant with mobile phone number standards ");
}
?>
Finally, all mobile phone numbers can be verified.
The instance code is
For example, I have an application, only with Jiangsu Telecom signed, that is, only Jiangsu Telecom mobile phone number of users can use our services, but because of the possibility of other areas of the user will also register, then I need to determine the cell phone attribution, in the absence of similar interfaces s
The mobile phone number belongs to the development document and the invocation instance, can inquire the cell phone number's attribution information, realizes the rapid development of the APP !Interface Name: Mobile phone number a
;
Finally, all mobile phone numbers can be verified.
The Code is as follows:
Copy code
Preg_match_all ($ regex, $ row ['mobile'], $ phones );If ($ phones ){Correct}
Friendly reminder: it is really difficult to judge the mobile phone number, because the mobile phone
When using regular matching mobile phone number, we first analyze the law of mobile phone number:1. Mobile phone number is usually 11-bit2. Often the beginning of 13. The second figure is usually 34578 of these figures, the mobile
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.