PHP commonly used regular expression mailbox phone number what

Source: Internet
Author: User
Class Regexconst {    Const REGEX_MOBLIE_86 = '/^1 (3|4|5|7|8) \d{9}$/';//China Mobile number    Const REGEX_MOBLIE_852 = '/^ (5|6|9) \d{7}$/';//HONG Kong mobile phone number    Const REGEX_MOBLIE_1 = '/^\d{10}$/';//US mobile phone number    Const regex_moblie_0039 = '/^\d{10}$/';//Italy mobile number    Const REGEX_MOBLIE_0044 = '/^7\d{9}$/';//UK mobile phone number    Const Regex_moblie = '/^\d{7,11}$/';//Mobile phone number    const REGEX_ Moblie_code = '/^\d{1,5}$/';//Mobile number International Code    const REGEX_EMAIL = '/^[_a-z0-9-]+ (\.[ _a-z0-9-]+) *@[a-z0-9-]+ (\.[ a-z0-9-]+) * (\.[ A-z]{2,}) $/';    Const Regex_email = '/^ (\w) + (\.\w+) *@ (\w) + ((\.\w+) +) $/';//email    const Regex_passwords = '/^[a-za-z0-9]{6,20}$ /';//password    const Regex_telephone = '/^ ((0\d{2,3})-) (\d{7,8}) $/';//Fixed phone}

PHP commonly used regular expression mailbox phone number what

Related Article

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.