1. Extracting ISO Dates with Named Groups
.NET Backend DeveloperBackground
An engineer needs to parse deployment logs to extract year, month, and day substrings into separate variables in a C# microservice.
Problem
Manual substring parsing is brittle, and the regex pattern needs verification against real timestamp formats before embedding in C# code.
How to use
Enter the ISO date pattern with named groups, paste a log string, keep Unicode classes enabled, and view the extracted capture groups.
Pattern: (?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})
Subject: deployed 2026-09-01, rollback window 2026-09-03
Flags: Global: true, IgnoreCase: false, Multiline: false, Singleline: false, Unicode: trueOutcome
All dates are matched with individual named groups (year, month, day) mapped clearly in the output table alongside generated C# code.