Join 2.9 million developers at
Join 2.9 million developers at
LEARNING OBJECTIVES
- 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
Learning Roadmap
1.
Introduction
Introduction
2.
Java Regex APIs
Java Regex APIs
3.
Building Blocks of Regular Expressions
Building Blocks of Regular Expressions
4 Lessons
4 Lessons
4.
Course Wrap Up
Course Wrap Up
5 Lessons
5 Lessons
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Complete more lessons to unlock your certificate
Developed by MAANG Engineers
ABOUT THIS COURSE
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 textual information
- Search and replace operation on texts
This course will teach you how to perform pattern matching with a regular expression using a Java API for these practical use cases.
ABOUT THE AUTHOR
Tarun Telang
Author of multiple books on Java, YAML, Kubernetes, Microservices and Cloud Native Development. Tarun is a Oracle Certified Java Programmer; Certified Development Consultant for Web Application Development Focus JAVA;
Trusted by 2.9 million developers working at companies
A
Anthony Walker
@_webarchitect_
E
Evan Dunbar
ML Engineer
S
Software Developer
Carlos Matias La Borde
S
Souvik Kundu
Front-end Developer
V
Vinay Krishnaiah
Software Developer
Built for 10x Developers
No Passive Learning
Learn by building with project-based lessons and in-browser code editor


Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go


Future-proof Your Career
Get hands-on with in-demand skills


AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"




MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies


Free Resources