Java Regular Expressions: Taming the java.util.regex Engine
Java has always been an excellent language for working with objects. However, Java’s text manipulation mechanisms have always been somewhat limited, especially when compared to languages such as AWK and Perl. The introduction of an excellent regular expressions package into Java 2 Standard Edition (J2SE) rectifies this. The new java.util.regex package offers everything a developer needs to use regular expressions, all packaged in an easy-to-use, object-oriented framework.
This book is a valuable reference for learning about regular expressions in Java. It focuses on the use of regular expressions in the Java language. This book offers working examples, best practices, an extremely detailed API reference with examples for almost every method, and a step-by-step tutorial on how to go about forming your own regular expressions.
You will find that regular expressions can be an extremely powerful tool in your programming arsenal, as well an elegant instrument that you will enjoy using. After mastering these tools, you will wonder at how you ever managed without them.
Chapter 1 Regular Expressions
Chapter 2 Introduction to the Java.util.regex Object Model
Chapter 3 Advanced Regex
Chapter 4 Object-Oriented Regex
Chapter 5 Practical Examples
Appendix A Regular Expression Reference
Appendix B Pattern and Matcher Methods
Appendix C Common Regex Patterns