Welcome back.
In this chapter you're going to learn about regular expression, often abbreviated as regex or regexp.
Regular expressions are a sequence of characters that form a search pattern.
This pattern is then used by the regex engine to match against the input text.
Imagine you need to validate whether a user has entered a correct email address, URL, or even a specific
format within your application.
Regular expressions make these kind of tasks possible, while regex is incredibly powerful and can seem
complex at first, it's used across almost all programming languages, making it a pretty much universal
skill to have if your goal is to become a software engineer.
So during this chapter, we'll learn how to construct and apply regular expressions.
In C sharp, you'll learn to identify and utilize specific patterns, focusing on making our code robust
and versatile.
This should allow you to search for specific sequences in strings, validate inputs, and transform
text, among other things we will be seeing as well.
We'll be working with practical examples showing you the most commonly used patterns and how they function,
and a few pretty cool challenges will be in here for you as well.
Now, while we won't cover every possible regex pattern, by the end of this chapter, you'll be equipped
with enough knowledge to explore and apply more complex expressions on your own, even outside of C
sharp.
So in any way, let's get started by opening Visual Studio and set up a new project.
I've already prepared a simple text for us to work with so that we can get right into regex.
All right, so let's get started and see you in the next video.