Write a regular expression for the following:
A regular expression that finds dates in files. Correct dates must be in the format DD-MM-YYYY and within the years 1900s and 2000s. No need to enforce the correct maximum number of days in a month. For example, within the following list: 10-02-2011 , 6-Feb-2016 , 8-5-2016 , 07-08-1966 , 32-05-2022
only 10-02-2011 and 07-08-1966 are valid dates.
A regular expression that accepts any of the following answers for the question “What are 5, 6 and 14?” numbers They’re numbers They are numbers