This article mainly introduces the Regular Expression of js verification phone number and mobile phone support + 86. For more information, see.
Regular Expression Verification
This article mainly introduces the JS verification phone number and mobile phone support +86 regular expression. Need friends can come to the reference, I hope to help you. The code is as follows: ; nbsp;
In this paper, PHP implementation of the telephone number matching regular expression of an example, have the need for friends, refer to it.Example of a regular expression with a telephone number area:
[2,3,5,6,8,9] Only provide these types of mobile phone number: 12...,13...,15...,16...,18...,19 .... Insuffi
[0-9a-z] [a-z0-9\._-] {1,}@[a-z0-9-]{1,}[a-z0-9] (\.[ A-z]{1,}) +Many of the verification mailboxes that were found on the Internet do not support the verification of mailbox of level two domain nameHow to use JSfunction checkemail (email) { if (/^[0-9a-z][a-z0-9\._-]{1,}@[a-z0-9-]{1,}[a-z0-9] (\.[ A-z]{1,}) +$/. Test (email) { returntrue; } return false ;}How to use C #classProgram {Static voidMain (string[] args) {Console.WriteLi
, and there must be a area code
2. If it is a mobile phone, You Can prefix it with "+ 86", "86", "86-", and "+ 86 -".
3. The phone number can only match those in mainland China. There are three places at the beginning of 02, and only the numbers of 010 Beijing are allowed at the beginning of 01
4. The extension number
Use Chrome on your PC to remotely debug your phone's page
Tool Preparation
Mobile end: Chrome for Android;
PC side: Install Google browser (preferably the latest version of the developer)
USB Cable, that line of your charger.
Turn on debug mode
Use USB to connect your computer and turn on debug mode. Using Android 4.2 or more phones may not have the debug mode option, you can find the "settings
Configure Chrome to support local (file protocol) AJAX requests, chromeajax
What problems?
In the WEB development process, we often write some simple demos, instead of developing a complete project. The common operations at this time are:
• Create a folder• Create a required file• Complete DEMO encoding in Sublime (or another editor)• Double-click the HTML file and run the demo directly in the browser.
If t
To enable it, you need to manually enter the following command in the Chrome browser to openchrome://flags/#enable-npapiCite an article from Chrome's official blog to explain why Chrome is not compatible with the Unity3d Webplayer plugin by default:The Final countdown for NPAPIPosted:monday, November 24, 2014Last September we announced our plan to remove NPAPI support
Today, I also found a problem on the debugging page. I debug the page in Google Chrome, and I have a text set font-size of 10px. It shows that the font size of my general settings is only a little smaller than 13px. I was surprised that I had no problem using IE8 and Google Chrome for debugging. Why did Google Chrome become a lot bigger. I used IE8 and Google
Google today released Chrome 34 on Windows, Mac, and Linux platforms. The new version supports multiple images, Network Audio API versions without a prefix, and supervised user import support. First, Google launched the "srcset" attribute, allowing Web developers to provide a variety of resources with different resolutions for the same image to speed up page loading and reduce bandwidth waste, and avoid the
Google has released Chrome 34 for Windows, Mac and Linux platforms. The new version supports multiple images, an unprecedented version of the network audio API, and the support for monitoring user imports. First, Google introduced the "Srcset" attribute, allowing web developers to provide a variety of different resolution resources for the same picture to speed up page loading time, reduce bandwidth wastage
supports nesting of the following @media type query statements: @media \0screen ..Css-hack { Color : Red;/* other browsers show Red */ } @media \0screen { . Css-hack { Color: Blue;} /* only ie 8 show blue */ } CSS Hack for IE 9Didn't find a reliable one.CSS Hack for IE 10Didn't find a reliable one.CSS Hack for IE 11Didn't find a reliable one.IE 6 + IE 7 CSS HackAs mentioned above, only IE 6, IE 7 can recognize the addition of the + or * number
Today's Chrome Beta release contains a number of new developer features. These features help you create richer, faster, and more compelling web content and applications, especially on mobile devices. Unless otherwise noted, the changes described below are valid for Android, Windows, Mac, Linux, and Chrome OS chrome.Using the Directwrite of WindowsChrome 37 adds
What? modal dialog box invalid?
Last week, to modify the test of a background management project, in the test with the browser compatibility, found in the Chrome browser ShowModalDialog method is not displayed in the modal dialog box, like a new page opened, the parent window is still free to get the focus, and can open more than one form , and the return value ReturnValue can not return, has been undefined. So many of the questions are troubling, an
Real Machine Debug Android phone +chromeWhile the mobile device Emulator on Chrome is powerful, there are a few small problems when the real machine is running, and you need to debug with the real machine. Step One: Prepare an Android phone and download the Chrome browser, a data cable, on your
itunes download to the computer, connect the Apple devices, when the software successfully connected to the device, please use itunes back up the iphone data.
3. Also download and install the Mutual Shield Apple Restoration Master http://www.cjxz.com/softs/20518.html, select the "Restore from the itunes backup file" feature, select Software to detect the backup device, click "Start Scanning."
4. Wait for file scan results, select "Contact" on the left, you can see the
, Microsoft executive. In the future, if new input technology appears, the standard will also ensure that developers do not have to do too much adjustment. ”
Previously, Microsoft has released a beta version of pointer events for WebKit browsers. But announcing that providing pointer events standard support to blink browsers does not mean that Chrome will accept the standard. For now, however, Microsoft ha
phone number and mobile number are verified simultaneously: (^ (\d{3,4}-) \d{7,8}) $| (13[0-9]{9})To extract the network links in the information: (h| H) (r| R) (e| E) (f| F) *= * (' | ')? (\w|\\|\/|\.) +('|"| *|>)?Message address in the extraction information: \w+ ([-+.] \w+) *@\w+ ([-.] \w+) *\.\w+ ([-.] \w+) *Extract picture links in information: (s| S) (r| R
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.