Course Overview

Get introduced to the course objectives, prerequisites, and target audience, as well as some information about the author.

Welcome

Welcome to this course! I am super excited to present this course on “Mastering Regular Expressions in Java.”. In this course, you will learn how to use regular expressions in Java for all sorts of cool practical purposes, from validating user input to parsing data.

This is a great way to improve your programming skills by familiarizing yourself with regular expressions. Regular expressions specify a search pattern that is used for pattern matching strings. They are not only important for writing parsers, but also for validating data such as input from a file or users.

This course primarily focuses on using regular expressions in the Java programming language. However, the concepts learned in this course can also be applied to other modern programming languages and frameworks like JavaScript, Python, Ruby, C#, VB.NET, Perl, and PHP.

Before we look at how to use regular expressions, we need to spend a few moments to understand what they are and why we should care. You might be surprised by how much text processing and validation you can accomplish with them!

Course objectives

This course will familiarize you with the basic concepts, syntaxes, advanced features, and other key information you’ll need to know to build a complex regular expression for your Java applications.

In this course, we will address the following questions:

  • What are regular expressions?

  • What are the common and practical applications of regular expressions?

  • What are the building blocks of regular expressions like character types, whitespaces, and character classes?

  • What are the building blocks of regular expressions, including character types, whitespaces, and character classes?

  • How to use regular expression APIs in Java

  • How to use regular expressions in String methods

  • How to use Pattern and Matcher classes

  • How to create regular expression patterns

  • How to use flags while creating regular expressions

Course objectives

These topics are both interesting and useful.

Prerequisites

This course is for intermediate to expert level programmers. To understand the concepts covered in this course, you should already be familiar with Java Programming and have some prior experience with Core Java or Java SE platform.

Target Audience

As a software engineer or programmer, you will likely come across problems in your work when parsing useful information or data like dates, phone numbers, or zip codes from text files. Learning regular expressions will serve you well in these scenarios.

Understanding and using regular expressions is a skill that will make you an even better programmer, engineer or software architect!

After following this course and its exercises diligently, you will be able to create powerful regular expressions for any complex pattern you need to match.

Let’s get started.

About the author

Hi! My name is Tarun Telang. I am a software professional with over two decades of programming experience.

I have experience as a software developer with some of the world’s most renowned software development firms like Microsoft, BlackBerry, Oracle, and SAP.

For more than 17 years, I have been presenting in conferences and actively writing technical articles and blogs on key concepts of software technology.

You can follow me on Twitter at @taruntelang or visit my LinkedIn Profile to follow me.