Hi,
I want to extract only dates from the below given string. I am using the below regex, but it is matching the last number also including dates. Can someone please help me out from this to extract only those two dates as a collection.
Input String: “The dates are 09‑29‑2020 - 08‑13‑2021, Schedule B40R, $0.00, 0953925650”
Regex I tried is: \d{1,2}.\d{1,2}.\d{1,4}
Note: I need only dates to be extracted as a collection.