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.
Welcome to the world of modern software development with Tarun Telang, a seasoned software engineering leader, author, and educator with over 20 years of hands-on experience building scalable enterprise applications and mentoring global teams. Tarun is the author of the official MicroProfile API Tutorials published by the Eclipse Foundation, empowering developers worldwide to build cloud-native, portable, and vendor-neutral microservices using open standards. He has also written several acclaimed books on Java, microservices, and cloud-native architecture, published by Apress (Springer Nature). His work has guided thousands of developers worldwide in mastering enterprise technologies and best practices. ? Notable Publications - Introduction to YAML: Demystifying YAML Data Serialization Format—The most comprehensive and up-to-date guide on YAML 1.3, covering real-world DevOps and configuration use cases. This book was awarded "The Best YAML Book of All Time" by BookAuthority. - Beginning Cloud Native Development with MicroProfile, Jakarta EE, and Kubernetes. A complete hands-on guide to building cloud-native Java microservices. - Learn Microservices with Spring Boot 3. A practical, event-driven approach to mastering microservices using Spring Boot, containers, and cloud-native patterns. - Practical Microservices Architectural Patterns: Build Highly Scalable Distributed Applications with Spring Boot 3 and Spring Cloud. A definitive guide to designing, developing, and deploying event-driven microservices with real-world transaction patterns, resilience, and observability. - Java EE to Jakarta EE 10 Recipes: A Problem-Solution Approach to Enterprise Java". This book serves as a comprehensive guide to modernizing enterprise Java applications. It covers topics such as Jakarta Server Pages, Jakarta Faces, MVC Restful Web Services, Persistence, Messaging, Security, NoSQL, Contexts & Dependency Injection. Industry Expertise Over the years, Tarun has held leadership roles at Microsoft, Oracle, SAP, and Polycom, delivering mission-critical enterprise platforms and mentoring diverse, high-performing teams. He is recognized as an SAP Mentor and Community Influencer, widely known for his technical articles and thought leadership in enterprise software development. Community & Global Impact As an active contributor to the developer ecosystem, Tarun shares his expertise through Stack Overflow, Quora, and international tech conferences and meetups. His engaging sessions on microservices, cloud architecture, and enterprise Java have inspired developers across North America, Europe, and Asia. Learning with Tarun Through his Udemy courses, Tarun combines real-world industry experience with hands-on teaching, helping students gain the skills needed to excel in modern software engineering roles. His courses focus on: - Practical, project-based learning - Clear explanations of complex architectural concepts - Enterprise-grade coding patterns and best practices Whether you’re a beginner or a senior engineer aiming to become a software architect, Tarun’s courses will help you think strategically, design intelligently, and code confidently. Connect with Tarun: Follow him on LinkedIn or on X/Twitter (@taruntelang) to stay updated on microservices, Java, cloud architecture, and software engineering leadership.
Join 3.1 million developers at
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
Learning Roadmap
1.
Introduction
Introduction
2.
Building Blocks of .NET Regular Expressions
Building Blocks of .NET Regular Expressions
4.
Course Wrap Up
Course Wrap Up
3 Lessons
3 Lessons
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 3.1 million developers working at companies
Anthony Walker
@_webarchitect_
Evan Dunbar
ML Engineer
Software Developer
Carlos Matias La Borde
Souvik Kundu
Front-end Developer
Vinay Krishnaiah
Software Developer
Built for 10x Developers












Free Resources