Regular Expressions (Regex) with C# .NET - Easy and Fast!

Regex Mastery: Hands-On Pattern Detection, Input Verification, Security Enhancement, and Data Cleanup

4.45 (113 reviews)
Udemy
platform
English
language
Software Engineering
category
instructor
Regular Expressions (Regex) with C# .NET - Easy and Fast!
1,165
students
3.5 hours
content
Apr 2024
last update
$79.99
regular price

What you will learn

Pattern Detection - Look for occurrences of a pattern using a concise language

Data Preparation - Locate and transform data of interest

Data Validation - Validate Input and Improve Security by Preventing Injection Attacks

Learn Techniques to Write High-Performance Patterns

Hands-on projects

Why take this course?

Hi, and welcome to the Regular Expressions (Regex) with C# .NET - Easy and Fast!

Regular Expression (regex) is a pattern detection language – they are typically used to search patterns in text, extract matching values, and data validation.

Regex is supported in many programming languages, including Python, C#, JavaScript, Perl, SQL, and more.

This course is designed to provide hands-on experience with regular expressions through various exercises and projects

I am Chandra Lingam, and I am your instructor.

Here are some typical uses of regular expression

Pattern Detection

Look for occurrences of a pattern using a concise language

Data Preparation

Data clean-up and preparation is often one of the most time-consuming activities

You can define the structure of data as a regex pattern and parse data

One good application of this is AWS Glue and Athena.

You can use regex to define the structure of a record in a text file, and query the file using SQL

Input Validation

You can implement a client-side check for input validation

For example, your app can guide the user to provide data in the correct format.

As part of the zero-trust architecture, you need to validate input to your microservice

With regex, you can verify and validate data payloads in your service

Cloud Services

Several cloud services use regex for advanced configuration.

With the AWS web application firewall, you can allow or deny traffic based on a regex pattern

In Google Workspace, you can use regex for content filtering, Gmail route configuration, and to search for content in google docs

In Google Analytics, you can use regex to locate and transform matching data in your data set

Regex is also supported by several products such as SAP, Oracle, and SQL Server

Curriculum

Here is a brief course outline:

In the Regex features section, you will get familiar with various regex methods, their purpose, and how-to unit test your pattern

In the regex language section, you will learn how to write patterns – starting from the simplest of patterns

You will also learn to incorporate regex in your HTML input types for validation

Regex engine puts the onus on the developers, that is us, to write efficient patterns

You will gain knowledge of regular expression engine that will help you write optimal patterns

There are several exercises for you to apply your new skills

We then look at performance and how poorly written patterns can degrade exponentially

How to optimize the patterns and address performance issues

In .NET, there are a few different ways to interact with the regular expression class

You will gain insight into what method is appropriate for a given performance requirement

There are four hands-on projects in this course

You will learn how to apply the regex for distinctly different data sets – unstructured log data, IoT sensor data, and parsing medical test data in HTML format

You will get prompt support through the course Q&A forum and private messaging.

I am looking forward to meeting you

Screenshots

Regular Expressions (Regex) with C# .NET - Easy and Fast! - Screenshot_01Regular Expressions (Regex) with C# .NET - Easy and Fast! - Screenshot_02Regular Expressions (Regex) with C# .NET - Easy and Fast! - Screenshot_03Regular Expressions (Regex) with C# .NET - Easy and Fast! - Screenshot_04

Reviews

Vijaykumar
December 3, 2023
I'm halfway through and i'm already started understanding the basic concepts..clear and precise explanations with examples. i like the cheat sheet that comes very handy.
Ayoola
November 6, 2023
The tutorials are amazingly too fast. This might be a total turn-off for beginners. I will suggest you take time to explain more. It's obvious the tutor understands the topic, but I had to abandon the lectures as I couldn't flow well with lectures.
Rahul
January 10, 2023
Amazing course content which is easy to follow and with four real world projects which are fun to practice.
NGAGEOnline
August 29, 2022
It would have been nice to hear a bit more on the thinking process as to breaking down/analysing a piece of text to come up with the solution. Otherwise the course was great. It's easy to understand how the solutions work, but as I said, it would have been nice to get some more insight into how one is to approach breaking the problem down. For example: As a newby, trying to get values from columns, one might first start looking for digits, rather than cleaning up white-spaces. Anywho, great course overall.
Amy
August 28, 2022
One of the top instructors on Udemy. All of your regex examples can be applied to JavaScript as well as .Net. Would you please consider developing a course utilizing Telerik components for Blazor App-Server on Udemy?
Tom
July 20, 2020
I was slightly familair with basic regex. However the current project that I am working on required me to have a little more knowledge. This course was excellent, but there appears to be some issues with the Health Care example. Tests failed in VS 2019. It probably is something minor, but will investigate
Danny
February 26, 2020
Presentation format was excellent. Instructor was clear and complete. Examples were very helpful. One suggestion though: I would add an example where the source data is not consistent or fixed. Ex. Parse addresses entered by different users, and break into name, street, city, state, zip code, & country.
Mayank
January 31, 2020
Nothing great you couldn't have from internet for free. More practical exercises could have been a help to memorize the operators.
Rukai
January 13, 2018
One of best courses I've listened on Udemy. It helps me get familiar with Regex and enlightens me to do more research on my own. The instructor is also very responsive and replied my question in one hour. Strongly recommended if you're new to Regular expression and don't like reading tedious articles. Also recommend a good website I use while I'm listening to the course: http://www.rexegg.com/.
Gabriel
September 3, 2017
excellent course on regex, goes over in excruciating detail every regex character and lots of scenarios and combinations, also comes with a helpful auto matching exe you can use to help design regex's. Only gripe is that the course teacher keeps his mic too close to his mouth and keeps putting a breathing/bump sound into it, sometimes every few seconds
Troy
May 30, 2017
The instructor explains each way to write the patterns for regular expressions very well and detailed. Also the examples help.
Andrew
April 9, 2017
Excellent examples and explanations on how to use regex patterns to find matches for different scenarios.
Ravishkumar
November 9, 2016
Its very nicely edited tutorial, I always wanted to learn regular expressions but the books were very boring and cumbersome, This video lecture was a boon for me. Thanks a ton Mr.Chandra for creating this.
Pierre
August 24, 2016
Very interesting and unique course project. Would like to see more challenging projects like the parsing of the healthcare file but maybe next time in a format that is more difficult to parse.

Charts

Price

Regular Expressions (Regex) with C# .NET - Easy and Fast! - Price chart

Rating

Regular Expressions (Regex) with C# .NET - Easy and Fast! - Ratings chart

Enrollment distribution

Regular Expressions (Regex) with C# .NET - Easy and Fast! - Distribution chart
837748
udemy ID
5/2/2016
course created date
11/22/2019
course indexed date
Bot
course submited by