Oreilly - Hands-On Java Regular Expressions
by Tomasz Lelek | Released April 2019 | ISBN: 9781838555900
Use the power of Java Regex to search, edit and manipulate text from scratchAbout This VideoA hands-on guide to learning the most important parts of developing Regular Expressions with Java 12Leverage the most powerful Regex APIs: Matcher and PatternMake your Regular Expression robust using built-in constructs into Java 12 Regex APIIn DetailRegular expressions (Regex) are specially encoded text strings, which are used as patterns for matching sets of strings. The search pattern can be anything from a simple character, a fixed string, or a complex expression containing special characters describing the pattern. It can also be used to search, edit, and manipulate text.This course will help you get up and running with Regular expressions in Java 12. You'll begin with the basics of Regular Expressions (Regex), which covers the topics with a hands-on approach. We'll also cover the prerequisites required such as JUnit. With the help of practical Java Regex examples, get complete insights into the rules to write regular expressions. You will use regular expressions with String methods and cover Pattern and Matcher for advanced regular expressions.By the end of the course, you'll be able to master Regular Expressions with Java 12 Regex API.Downloading the example code for this course: You can download the example code files for this course on GitHub at the following link: https://github.com/PacktPublishing/Hands-On-Java-Regular-Expressions. If you require support please email:
[email protected] Show and hide more
- Chapter 1 : Getting Started with Java Regular Expressions API
- The Course Overview 00:02:23
- Setup Prerequisites of the Course: JUnit 00:03:24
- Writing Code that Operates on Pattern and Matcher 00:05:00
- Matching String Literals 00:03:31
- Adding Metacharacters to Regular Expressions 00:04:41
- Parameterized Unit Testing Using JUnit 00:04:30
- Chapter 2 : Using Pattern Classes with Character
- Using OR Class in the Regex 00:04:30
- Negating OR with NOR Class 00:03:06
- Matching Multiple Characters with Ranges 00:04:21
- Union and Intersection Class for Matching a Subset of Data 00:03:03
- Using Predefined Character Classes 00:04:39
- Chapter 3 : Using Quantifiers with Capturing Groups
- Using Quantifiers for Matching a Specific Number of Elements 00:05:44
- Creating a Capturing Group to Treat a Group of Characters as a Unit 00:03:57
- Repeating Regex Multiple Times 00:04:16
- Using Backreference to Solve More Complex Problems 00:04:45
- Chapter 4 : Boundary Matchers and Pattern Class Methods
- Using Boundary Matcher to Match the Beginning and End of the Line 00:03:59
- Creating Regex with Word Boundary 00:03:44
- Leveraging Pattern.CASE_INSENSITIVE and Pattern.CANON_EQ 00:04:39
- Using Pattern.COMMENTS in the Regex 00:03:02
- Using Pattern.LITERAL and Pattern.MULTILINE 00:04:53
- Chapter 5 : Solving Most Complex Problems with Matcher Class Methods
- Using Matcher Index for Retrieving Matched Index 00:04:47
- Leveraging Study Method for Checking the Presence of Elements 00:03:41
- Replacing Content Using Regex with Replacement Methods 00:04:51
- Matching Date Format with Regular Expressions 00:05:53
- Tweaking Regex Performance 00:07:24
Show and hide more
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.