Java Regex Primer Since version 1.4, Java has had support for Regular Expressions in the core API. Java Regex follows the same basic principles used in other languages, just withdi erent access methods, and some subtledi erences with the patterns. This primer is aimed towards developers already familiar with regex in other languages wanting a brief outline of its support in Java. It may also be beneficial to developers learning regex if used in conjunction with detailed documentation explaining the construction of regex patterns. Reading the javadoc forjava.util.regex. Pattern is a must to see how the Java regex patterns aredi erent from other languages such as Perl. Most of the functions discussed herin are from thejava.util.regex. Matcher class with a few fromjava.util.regex. Pattern. Reading this text in conjunction with the javadoc of those classes is advised.