0

I need to get a date from a string when I use this : Regex rgx = new Regex(@"\d{2}/\d{2}/\d{4}");

I can find dates like : 09/25/2020 or 01/28/2019 But some times I get these dates: 1/2/2019 , 9/8/2018 and I can't get it from my string with my current regex, How can I solve this prob ?

Damkulul
  • 1,406
  • 2
  • 25
  • 59

0 Answers0