A summary of the coding ranges of the character sets in regular expressions--regular expressions

Source: Internet
Author: User
Tags ranges
These character sets are especially helpful when it comes to the various words, punctuation, and special symbols of the Japanese character set.
UTF8
[\x01-\x7f]| [\XC0-\XDF] [\x80-\xbf]| [\xe0-\xef] [\X80-\XBF] {2}| [\xf0-\xff] [\X80-\XBF] {3}
UTF16
[\x00-\xd7] [\xe0-\xff]| [\XD8-\XDF] [\x00-\xff] {2}
Jis
[\x20-\x7e]| [\x21-\x5f]| [\x21-\x7e] {2}
Sjis
[\x20-\x7e]| [\xa1-\xdf]| ([\x81-\x9f]| [\xe0-\xef]) ([\x40-\x7e]| [\X80-\XFC])
Euc_jp
[\x20-\x7e]|\x81[\xa1-\xdf]| [\xa1-\xfe] [\xa1-\xfe]|\x8f[\xa1-\xfe]{2}
EUC_JP Punctuation and special characters
[\xa1-\xa2] [\xa0-\xfe]
EUC_JP Full-angle Digital
\XA3[\XB0-\XB9]
EUC_JP All Corners Capital English
\XA3[\XC1-\XDA]
EUC_JP Full Angle lowercase English
\XA3[\XE1-\XFA]
EUC_JP Full-angle Hiragana
\XA4[\XA1-\XF3]
EUC_JP full-angle Katakana [color=red]2007-03-12 15:00 Update [/color]
\xa3[\xb0-\xb9]|\xa3[\xc1-\xda]|\xa5[\xa1-\xf6][\xa3][\xb0-\xfa]| [\XA1] [\xbc-\xbe]| [\XA1] [\XDD]
EUC_JP full-width Chinese characters [color=red]2007-03-12 15:06 Update [/color]
[\XB0-\XCF] [\xa0-\xd3]| [\xd0-\xf4] [\xa0-\xfe]| [\xb0-\xf3] [\xa1-\xfe]| [\xf4] [\xa1-\xa6]| [\XA4] [\xa1-\xf3]| [\xa5] [\xa1-\xf6]| [\XA1] [\xbc-\xbe]
Big5
[\x01-\x7f]| [\x81-\xfe] ([\x40-\x7e]| [\xa1-\xfe])
GBK
[\x01-\x7f]| [\x81-\xfe] [\x40-\xfe]
GB2312 Chinese Characters
[\xb0-\xf7] [\xa0-\xfe]
GB2312 punctuation mark and special symbol
\XA1[\XA2-\XFE]
GB2312 Roman Array and item serial number
\XA2 ([\xa1-\xaa]|[ \xb1-\xbf]| [\xc0-\xdf]| [\xe0-\xe2]| [\xe5-\xee]| [\XF1-\XFC])
GB2312 Full angle punctuation and full-width letters
\XA3[\XA1-\XFE]
GB2312 Japanese Hiragana
\XA4[\XA1-\XF3]
GB2312 Japanese Katakana
\xa5[\xa1-\xf6]
Recharge:
GB18030
[\x00-\x7f]| [\x81-\xfe] [\x40-\xfe]| [\x81-\xfe] [\x30-\x39] [\x81-\xfe] [\x30-\x39]
[Color=red]2007-03-12 21:35 Supplement [/color]
Japanese Half corner space
\x20
Sjis Full-angle space
(?:\ X81\X81)
Sjis Full-angle Digital
(?:\ X82[\X4F-\X58])
Sjis All Corners Capital English
(?:\ X82[\X60-\X79])
Sjis Full Angle lowercase English
(?:\ X82[\X81-\X9A])
Sjis Full-angle Hiragana
(?:\ X82[\X9F-\XF1])
Sjis full-angle Hiragana extension
(?:\ X82[\X9F-\XF1]|\X81[\X4A\X4B\X54\X55])
Sjis Full-angle Katakana
(?:\ X83[\X40-\X96])
Sjis full-angle Katakana extension
(?:\ X83[\X40-\X96]|\X81[\X45\X5B\X52\X53])
EUC_JP Full-angle space
(?:\ XA1\XA1)
EUC Half-angle Katakana
(?:\ X8E[\XA6-\XDF])

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.