HOME > Development > Regular Expressions (Regex) with C# .NET Easy and Fast!

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

  • Development
  • Feb 01, 2025
SynopsisRegular Expressions (Regex with C# .NET – Easy and Fas...
Regular Expressions (Regex) with C# .NET Easy and Fast!  No.1

Regular Expressions (Regex) with C# .NET – Easy and Fast!, available at $79.99, has an average rating of 4, with 72 lectures, 4 quizzes, based on 119 reviews, and has 1197 subscribers.

You will learn about 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 This course is ideal for individuals who are System Administrators or Developers or Architects or Database Administrators It is particularly useful for System Administrators or Developers or Architects or Database Administrators.

Enroll now: Regular Expressions (Regex) with C# .NET – Easy and Fast!

Summary

Title: Regular Expressions (Regex) with C# .NET – Easy and Fast!

Price: $79.99

Average Rating: 4

Number of Lectures: 72

Number of Quizzes: 4

Number of Published Lectures: 71

Number of Published Quizzes: 4

Number of Curriculum Items: 76

Number of Published Curriculum Objects: 75

Original Price: $89.99

Quality Status: approved

Status: Live

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
  • Who Should Attend

  • System Administrators
  • Developers
  • Architects
  • Database Administrators
  • Target Audiences

  • System Administrators
  • Developers
  • Architects
  • Database Administrators
  • 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

    Course Curriculum

    Chapter 1: Introduction

    Lecture 1: Introduction

    Lecture 2: Increase the speed of learning

    Lecture 3: Source Code Setup

    Chapter 2: .NET Regex Language

    Lecture 1: Downloadable Resources

    Lecture 2: Interactive Tool – Visually Observe and Build Regex

    Lecture 3: Single Character Patterns

    Lecture 4: Anchors

    Lecture 5: Character Classes

    Lecture 6: Quantifiers

    Lecture 7: HTML input validation example

    Lecture 8: Input Validation Example (Browser)

    Lecture 9: Instructions for Quiz and Exercise

    Chapter 3: .NET Regex Engine – Behind the scenes

    Lecture 1: Downloadable Resources

    Lecture 2: One character at a time

    Lecture 3: Left to Right

    Lecture 4: Lab – Left to Right

    Lecture 5: Greedy, Lazy and Backtracking Analogy

    Lecture 6: Greedy, Lazy and Backtracking Examples

    Lecture 7: Lab – Greedy, Lazy and Backtracking

    Lecture 8: Groups, Backreference, Replacement

    Lecture 9: Lab – Groups, Backreference, Replacement

    Lecture 10: Look Ahead

    Lecture 11: Look Behind

    Lecture 12: Exercise – Currency Symbol

    Lecture 13: Solution – Currency Symbol

    Lecture 14: Exercise – Match a number

    Lecture 15: Solution – Match a number

    Lecture 16: Exercise – List all cars not made by Honda

    Lecture 17: Solution – List all cars not made by Honda

    Lecture 18: Exercise – Webserver Log Parser

    Lecture 19: Solution – Webserver Log Parser

    Lecture 20: Exercise – Filter by price

    Lecture 21: Solution – Filter by price

    Lecture 22: Exercise – List cars that meet specified criteria

    Lecture 23: Solution – List cars that meet specified criteria

    Lecture 24: Exercise – Password Validation

    Lecture 25: Solution – Password Validation

    Chapter 4: .NET Regex Performance

    Lecture 1: Downloadable Resources

    Lecture 2: Exponential degradation – example of bad patterns and performance implication

    Lecture 3: How to correct performance issues and optimize pattern

    Lecture 4: Static, Instance, and Compiled Directive

    Lecture 5: Lab – Performance Test with Static, Instance and Compiled Directive

    Chapter 5: Coding with .NET Regex Class

    Lecture 1: Introduction to Regex Features

    Lecture 2: How to Define a Regular Expression Pattern in Code

    Lecture 3: Regex IsMatch and Unit Testing

    Lecture 4: Match, Matches, and Groups

    Lecture 5: Find-Replace, Split

    Chapter 6: Project 1 – Log Parser

    Lecture 1: Log Data Parser Objective

    Lecture 2: Exercise 1 – Write a pattern to capture header information

    Lecture 3: Exercise 2 – Write a pattern to capture error message

    Lecture 4: Exercise 3 – Write a pattern to capture metrics

    Lecture 5: Solution – How to write log parser regex patterns

    Lecture 6: Solution – Log Data to JSON

    Chapter 7: Project 2 – IoT Sensor Data

    Lecture 1: Sensor Data Parser Objective

    Lecture 2: Exercise 1 – Capture Date Value

    Lecture 3: Exercise 2 – Capture Temperature and Humidity Value

    Lecture 4: Solution – How to write sensor data patterns

    Lecture 5: Solution – Sensor Data to JSON

    Chapter 8: Project 3 – Health Care Data

    Lecture 1: Health care Data Parser Objective

    Lecture 2: Exercise 1- Cleanup pattern

    Lecture 3: Exercise 2 – Write a pattern to capture a row

    Lecture 4: Exercise 3 – Write a pattern to capture a cell

    Lecture 5: Solution – How to write health care data patterns

    Lecture 6: Solution – Health care data to CSV

    Chapter 9: Project 4 – Network Configuration Parser

    Lecture 1: Network Configuration Parser

    Lecture 2: Solution – Network Configuration Parser

    Chapter 10: Interesting Question and Answers from the Discussion Forum

    Lecture 1: How to Remove Embedded Comma Inside Double Quotes

    Lecture 2: How to Extract Unit Number from Postal Address

    Lecture 3: How to split text that uses comma and/or newline as separators

    Chapter 11: Conclusion

    Lecture 1: Bonus: SQL for Data Scientists, Data Engineers and Developers?

    Lecture 2: Congratulations!

    Instructors

  • Regular Expressions (Regex) with C# .NET Easy and Fast!  No.2
    Chandra Lingam
    Compute With Cloud Inc
  • Rating Distribution

  • 1 stars: 1 votes
  • 2 stars: 1 votes
  • 3 stars: 14 votes
  • 4 stars: 42 votes
  • 5 stars: 61 votes
  • Frequently Asked Questions

    How long do I have access to the course materials?

    You can view and review the lecture materials indefinitely, like an on-demand channel.

    Can I take my courses with me wherever I go?

    Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!