Java Regular Expression (i)

Source: Internet
Author: User
Tags printable characters

The regular expression (regular expression) describes a syntax rule for string matching.


(1) Ordinary characters

The simplest regular expression is a single normal character that matches one character at a time, matching one character to the other. Ordinary characters consist of all printed and non-printable characters that are not displayed as metacharacters. Letters, numbers, Chinese characters, underscores, and punctuation that are not specifically defined are ordinary characters. This includes all uppercase a~z and lowercase A-Z, all digits 0-9, all punctuation

(2) Special characters

Special characters, which are characters with special meanings, are usually the matching characters specified in the regular expression syntax.

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/80/29/wKiom1c5jyPhs3djAAM337_5AvQ356.png "title=" QQ picture 20160516171218.png "alt=" Wkiom1c5jyphs3djaam337_5avq356.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/80/26/wKioL1c5kzfTze-wAAM_Pz9Ajbg199.png "style=" float: none; "title=" QQ picture 20160516172019.png "alt=" Wkiol1c5kzftze-waam_pz9ajbg199.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/80/26/wKioL1c5kzzishh4AAOEGYD0zwY685.png "style=" float: none; "title=" QQ picture 20160516172050.png "alt=" Wkiol1c5kzzishh4aaoegyd0zwy685.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/80/26/wKioL1c5kz-TsiisAAMYZr0ze6o835.png "style=" float: none; "title=" QQ picture 20160516172133.png "alt=" Wkiol1c5kz-tsiisaamyzr0ze6o835.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/80/26/wKioL1c5k0CxXfvpAABpYw65SHw244.png "style=" float: none; "title=" QQ picture 20160516172159.png "alt=" Wkiol1c5k0cxxfvpaabpyw65shw244.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/80/26/wKioL1c5k0GQg9rAAAEBvljw0pA244.png "style=" float: none; "title=" QQ picture 20160516172225.png "alt=" Wkiol1c5k0gqg9raaaebvljw0pa244.png "/>


This article is from the "Ah Cool blog source" blog, please make sure to keep this source http://aku28907.blog.51cto.com/5668513/1773993

Java Regular expression (i)

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.