AI-powered learning
Save this course
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.
13 Lessons
1h 27min
Join 2.9 million developers at
Join 2.9 million developers at
LEARNING OBJECTIVES
- 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
Learning Roadmap
1.
Introduction
Introduction
Get familiar with C# regex concepts, APIs, string methods, and practical applications.
2.
Building Blocks of .NET Regular Expressions
Building Blocks of .NET Regular Expressions
Unpack the core of .NET regular expressions, including syntax, groups, backreferences, and practical applications.
4.
Course Wrap Up
Course Wrap Up
3 Lessons
3 Lessons
Grasp the fundamentals of regex, their applications, and security practices in C#.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Complete more lessons to unlock your certificate
Developed by MAANG Engineers
ABOUT THIS COURSE
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 and meta characters, and quantifiers. You will also learn conditional regular expressions including lookahead and lookbehind assertions. You will also learn the APIs used in C# for regular expressions with hands-on code widgets.
This course will teach you how to perform pattern matching with a regular expression using String and Regex APIs for the above-mentioned practical use cases in C#.
ABOUT THE AUTHOR
Tarun Telang
Author of multiple books on Java, YAML, Kubernetes, Microservices and Cloud Native Development. Tarun is a Oracle Certified Java Programmer; Certified Development Consultant for Web Application Development Focus JAVA;
Trusted by 2.9 million developers working at companies
A
Anthony Walker
@_webarchitect_
E
Evan Dunbar
ML Engineer
S
Software Developer
Carlos Matias La Borde
S
Souvik Kundu
Front-end Developer
V
Vinay Krishnaiah
Software Developer
Built for 10x Developers
No Passive Learning
Learn by building with project-based lessons and in-browser code editor


Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go


Future-proof Your Career
Get hands-on with in-demand skills


AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"




MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies


Free Resources