Getting started with regex - Matching a valid date

If you haven't done so already, create a new console application and add a class to the project called RegExDemo. Your code at this moment should look something like this:

class Program{   static void Main(string[] args)   {   }}public class RegExDemo{}

Get C# 7 and .NET Core Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.