URL Card number ZIP code QQ number integer English characters regular code

Source: Internet
Author: User

This article to provide the expression is the URL card number ZIP code QQ number of the integer English Zhong Wenjing code Oh, let us one by one note it.

URL:/^http://[a-za-z0-9]+. [a-za-z0-9]+[/=?%-&_~ ' @[] ': +!] * ([^<> ""]) *$/,//Address regular


Idcard:/^d{15} (d{2}[a-za-z0-9])? $/,//Ka


Currency:/^d+ (. d+)? $/,


Number:/^d+$/,//Digital


Zip:/^[1-9]d{5}$/,//ZIP code


QQ:/^[1-9]d{4,8}$/,//QQ


Integer:/^[-+]?d+$/,


Double:/^[-+]?d+ (. d+)? $/,


中文版:/^[a-za-z]+$/,//English


Chinese:/^[u0391-uffe5]+$/, Chinese characters


Username:/^[a-z]w{3,}$/i,


UnSafe:/^ ([a-z]*|[ a-z]*|d*| [-_~!@#$%^&*. () []{}<>?\/' "]*) |. {0,5}) $|s/,

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.