Working with Regular Expressions in C#

Working with Regular Expressions in C#

Gain insights into pattern matching with regular expressions in C#. Explore data validation, information extraction, and more using String and Regex APIs with practical examples.

Intermediate

13 Lessons

1h 27min

Certificate of Completion

Gain insights into pattern matching with regular expressions in C#. Explore data validation, information extraction, and more using String and Regex APIs with practical examples.

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

32 Playgrounds

This course includes

32 Playgrounds

Course Overview

Regular expressions provide an extremely powerful method for pattern matching with strings. 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. The course discusses everyday use cases of regular expressions, e.g., data validation, information extraction, pattern matching, and search and replace. This course will teach you the core concepts of pattern matching, character classes, special an...Show More

TAKEAWAY SKILLS

Strings

Object Oriented Programming

What You'll Learn

An understanding of regular expressions and their applications

Hands-on experience with regular expressions using C# APIs

Working knowledge of RegexOptions, capture groups, and backreferences

The use of regular expressions through string operations

Familiarity with core concepts of character classes, special and meta characters, quantifiers, and conditional regular expressions

What You'll Learn

An understanding of regular expressions and their applications

Show more

Course Content

1.

Introduction

Get familiar with C# regex concepts, APIs, string methods, and practical applications.
2.

Building Blocks of .NET Regular Expressions

Unpack the core of .NET regular expressions, including syntax, groups, backreferences, and practical applications.
3.

Advanced Concepts

Master the steps to manage advanced regex topics, considering culture, security, and performance.
4.

Course Wrap Up

Grasp the fundamentals of regex, their applications, and security practices in C#.

Course Author

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Souvik Kundu

Front-end Developer

Eric Downs

Musician/Entrepeneur

Anthony Walker

@_webarchitect_

Evan Dunbar

ML Engineer

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath