31. Transforming dates in strings

Write a function that, given a text containing dates in the format dd.mm.yyyy or dd-mm-yyyy, transforms the text so that it contains dates in the format yyyy-mm-dd.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset