Beginner
13 Lessons
1h 20min
Certificate of Completion
Takeaway Skills
Introduction to regular expressions
Using regular expression APIs from java.util.regex package
Different types of characters, and whitespaces
Character classes, meta-characters and qualifiers
Character ranges and character repetitions
Using Pattern, Group and Matcher classes
Creating regular expression patterns using flags
Making regular expressions more accurate using modifiers
How to match single, multiple and range of characters using optional characters and wildcards
Performing search and replace operation on strings using regular expressions
Analyzing text files with regular expressions
Using named groups in regular expressions
Course Overview
Regular expressions describe a pattern of characters used for searching a string. They are very useful for parsing information like dates, phone numbers, or zip codes from important text files such as code files, log files, spreadsheets, or documents. Below are the most common use cases of regular expressions: - Data validation of data fields or values like phone numbers, zip codes, email addresses, etc. - Information extraction from text files for further processing - Pattern matching of strings or text...
Course Content
Introduction
Java Regex APIs
Building Blocks of Regular Expressions
Course Wrap Up
How You'll Learn
You don’t get better at swimming by watching others. Coding is no different. Practice as you learn with live code environments inside your browser.
Videos are holding you back. Educative‘s interactive, text-based lessons accelerate learning — no setup, downloads, or alt-tabbing required.
Learn faster and smarter with adaptive AI tools embedded in every Educative course.
Built-in assessments let you test your skills. Completion certificates let you show them off.