Java Regex Tutorial
Selected Reading
- Java Regex - Discussion
- Java Regex - Useful Resources
- Java Regex - Quick Guide
- Java Regex - Logical Operators
- Java Regex - Possessive quantifiers
- Java Regex - Reluctant quantifiers
- Java Regex - Greedy quantifiers
- Java Regex - Boundary Matchers
- Unicode Character Classes
- Java Regex - JAVA Character Classes
- POSIX Character Classes
- Predefined Character Classes
- Java Regex - Character Classes
- Java Regex - Characters
- PatternSyntaxException Class
- Java Regex - Matcher Class
- Java Regex - Pattern Class
- Java Regex - MatchResult Interface
- Java Regex - Capturing Groups
- Java Regex - Overview
- Java Regex - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Java Regex - JAVA Character Classes
Matching JAVA Character Classes
Following are various examples of matching JAVA character classes using regular expression in java.
Sr.No | Construct & Matches |
---|---|
1 | Equivalent to java.lang.Character.isLowerCase(). |
2 | Equivalent to java.lang.Character.isUpperCase(). |
3 | Equivalent to java.lang.Character.isWhitespace(). |
4 | Equivalent to java.lang.Character.isMirrored(). |