// Define a regular expression that captures month, day, and year. Regex datePattern = new Regex(@"(\d{2})-(\d{2})-(\d{4})"); // Configure find‑replace options to ...