. Request (), directly with Urllib2.urlopen (). This is done in order to mimic the normal browser access operation. Two, data saving data is best saved as XLS file format, if not saved as CSW text format can also be saved as txt text format. It is best to make automatic recognition based on the suffix name of the file name entered by the user. (1) First define the function SAVE_AS_CSW (), Save_as_txt (), Save_as_xls () to implement Csw,txt,xls file format saving. DEFNBSP;SAVE_AS_CSW (
(str) {var mobile = getId (str);var html_mobile = getId ("html_" + str); if (Mobile.value.length > 0) {if (!/^[0-9]{11,30}$/.exec (Mobile.value)) {html_mobile.innerhtml = "return false;}else {Html_mobile.innerhtml= "}}else {html_mobile.innerhtml = "mobile phone and landline must fill in one, the format is: 18908476638";}} Detection phone numberfunction Checktel (str) {var tel = getId (str);var Html_tel = getId ("html_" + str); var mobile = getId (' m
This document applies to users in the telephone line
Applicable model:D301 problem Category: Set up the Internet
The first step: connect the Good Line
Step Two: Configure the IP in the local computer connection
Step Three: Configure the Router for bridge mode
Fourth step: Broadband connection dial-up Internet settings
As shown in the following figure, directly to the household telephone line to the separator at the lines, and the
project needs, preferably the city from its own area, confirm the call time and telephone number (preferably mobile phone number, second landline with extension number, last landline)
4. Call time-should avoid in the customer meeting/Lunch Break time, you can choose in the afternoon of Monday appointment for this week's customers, afraid of a long interval of time customers have forgotten, there is a fail
When it comes to software development, it's impossible to say that the database has to say three paradigms in fact, there are six database paradigms in addition to the 123th paradigm to There's the fourth fifth paradigm and a BC paradigm here we only discuss three paradigms interested friends can find some professional books for further study First Paradigm (1NF) The first paradigm is that each column of a database table is an indivisible basic data item cannot have multiple values in the same
Tags: mysql learn note mysql primerDesign Paradigm (NF = Normal Format)Paradigm: the canonical format.Paradigms are rules that must be adhered to in designing relational databases.If we meet the requirements of the design paradigm, the database will be concise and structurally clear.Conversely, there will be data redundancy, as well as inserting, deleting, modifying data anomalies.Type of design paradigm:1NF,2NF,3NF,BCNF(Badesco paradigm), 4NF,5NF(Perfect Paradigm). 1NF is the most relaxed, inc
the mobile phone number
This. ChkMobile = function (obj, msg)
{
If (IsError) return;
If (! (/^ (? : 13d | 159 )-? D {5} (d {3} | * {3}) $/. test (obj. value. Trim () ErrorHandle (obj, msg );
}
// Check the landline number
This. ChkPhone = function (obj, msg)
{
If (IsError) return;
If (! (/^ D {3, 4 }-? D {4, 5} (d {3} | * {3}) $/. test (obj. value. Trim () ErrorHandle (obj, msg );
}
// Submit a form event
This. Submit = function (Form, msg)
{
If (I
the mobile phone number
This. ChkMobile = function (obj, msg)
{
If (IsError) return;
If (! (/^ (? : 13d | 159 )-? D {5} (d {3} | * {3}) $/. test (obj. value. Trim () ErrorHandle (obj, msg );
}
// Check the landline number
This. ChkPhone = function (obj, msg)
{
If (IsError) return;
If (! (/^ D {3, 4 }-? D {4, 5} (d {3} | * {3}) $/. test (obj. value. Trim () ErrorHandle (obj, msg );
}
// Submit a form event
This. Submit = function (Form, msg)
{
If (I
: (\ d +) \. (\ d +)Extract the Chinese mobile phone number from the information: (86) * 0*13 \ d {9}Extracted Chinese landline numbers from the information: (\ d {3, 4} \) | \ d {3, 4}-| \ s )? \ D {8}Extract Chinese phone numbers (including mobile and landline phones) from the Information: (\ d {3, 4} \) | \ d {3, 4}-| \ s )? \ D {7, 14}Extracted Chinese zip code: [1-9] {1} (\ d +) {5}Chinese ID card numb
Although there are not many users using asp. there are still a lot of people. Next I will introduce some common codes for mobile phone number Regular Expression verification in asp. You can refer to them.
(China Mobile phone no. 134,135,136,137,138,139,150,151,157,158,159, China Unicom's no. 130,131,132,133,153,155,156, China Telecom's 3G mobile phone no. 188, and China Netcom's 3G mobile phone no. 189)1. The first three digits must be 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 150, 151,
Powerful jQuery Form Verification plug-in, suitable for daily E-mail, phone number, URL verification and Ajax verification, in addition to its own rich verification rules, you can also add custom verification rules. Compatible with IE6 +, Chrome, Firefox, Safari, and Opera10 + is an excellent plug-in that can verify client forms and provide many customizable attributes and methods, excellent scalability. This article explains this example to understand the application of Validation.
Verificati
+ $" // a string consisting of digits, 26 letters, or underscores
"^ [W-] + (. [w-] +) * @ [w-] + (. [w-] +) + $" // email address
"^ [A-zA-z] +: // (w + (-w +) *) (. (w + (-w + )*))*(? S *)? $ "// Url
Regular Expression -- verify mobile phone number: 13 [0-9] {9}
If the mobile phone number is 86 or + 86 before it is implemented: ^ (+ 86) | (86 ))? (13) d {9} $
Verify the phone number and phone number at the same time: (^ (d {3, 4 }-)? D {7,8}) $ | (13 [0-9] {9 })
Extract the network link in th
, img_url, thumb_url, etc.10. head_thumb-user profile picture, although a little long, must follow. Do not11. image_alt-alt attribute of the image in the album12. desc-description and description, such as goods_desc. Do not use goods_txt.13. details-details, article content, etc.14. order_id-sort15. telephone-landline number16. mobile phone number17. phone-use phone name when phone and landline are not diff
Today, skype cannot make a call-Linux general technology-Linux technology and application information. The following is a detailed description. It's strange that I cannot dial in liunx. There is always no money. It is clear that there is money. You can still call it under win. It won't work in linux.
The problem is found.
Currently, the Skype version is divided into two categories: one is the international version and the other is the domestic version. Of course, the SKYPE recharge is also
} Else {// Incorrect Mobile Phone Number Format}
The above is our previous method. Next we will introduce the latest Regular Expression for mobile phone numbers.
The current mobile phone number is increased by 150,153,156,158,159,157,188,189.Therefore, the regular expression is as follows: string s = @ "^ (13 [0-9] | 15 [0 | 3 | 6 | 7 | 8 | 9] | 18 [8 | 9]) d {8} $ ";
Tips of Wan yahu, adding 180,147, etc., more comprehensive expressions:
The Code is as follows:
Copy code
Mobile phone number, password is verified.Share the format verification of the next JavaScript expression, commonly used mobile phone number, password and so on./** * Mobile phone number * Move: 134[0-8],135,136,137,138,139,150,151,157,158,159,182,187,188* unicom: 130,131,132,152,155,156,185,186* Telecommunications: 133,1349,153,180,189*/NSString* MOBILE = @ "^1 (3[0-9]|5[0-35-9]|8[025-9]) \\d{8}$";/** * Mobile: China mobile* 134[0-8],135,136,137,138,139,150,151,157,158,159,182,187,188*/NSString
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.