Find all types of date format that present in the string using Python
I am using match = re.search('^([1-9] |1[0-9]| 2[0-9]|3[0-1])(.|-)([1-9] |1[0-2])(.|-|)20[0-9][0-9]$', date) to find date but its not working strings like "I have a meeting on 2018-12-10 in New York" please help to find this one.