This is the code repository for Java 9 Regular Expressions, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
This easy-to-follow guide is a great place from which to familiarize yourself with the core concepts of regular expressions and to master its implementation with the features of Java 9. You will learn to match, extract, and transform text by matching specific words, characters, and patterns. You will begin by discovering what regular expressions are and how they work with Java. You will learn when and where to apply the methods for finding patterns in digits, letters, Unicode characters, and string literals. Going forward, you will learn to use zero-length assertions and lookarounds and to parse source code and process log files. Finally, you will master tips, tricks, and best practices in Regex with Java.
Codes are not present in chapter 1,2,3,5.
All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.
The code will look like the following:
package example.regex;
public class StringMatches
{
public static void main(String[] args)
}
The software in this book is tested on Java version 8 on Ubuntu version 16.10. However, all the examples can also be run on the Windows and macOS X operating systems.
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.
https://packt.link/free-ebook/9781787288706