'robocop eats apples 'alice throws footballs 'carol eats cats practice projects for practicewrite programs to do the following tasks date detection write regular expression that can detect dates in the dd/mm/yyyy format assume that the days range from to the months range from to and the years range from to note that if the day or month is single digitit'll have leading zero the regular expression doesn' have to detect correct days for each month or for leap yearsit will accept nonexistent dates like or then store these strings into variables named monthdayand yearand write additional code that can detect if it is valid date apriljuneseptemberand november have daysfebruary has daysand the rest of the months have days february has days in leap years leap years are every year evenly divisible by except for years evenly divisible by unless the year is also evenly divisible by note how this calculation makes it impossible to make reasonably sized regular expression that can detect valid date strong password detection write function that uses regular expressions to make sure the password string it is passed is strong strong password is defined as one that is at least eight characters longcontains both uppercase and lowercase charactersand has at least one digit you may need to test the string against multiple regex patterns to validate its strength regex version of the strip(method write function that takes string and does the same thing as the strip(string method if no other arguments are passed other than the string to stripthen whitespace characters will be removed from the beginning and end of the string otherwisethe characters specified in the second argument to the function will be removed from the string