Menu
Coddy logo textTech

Finding Dates

Lesson 27 of 28 in Coddy's RegEx in Python course.

challenge icon

Challenge

Medium

Write a function named find_dates_various_formats that takes a text string as input and returns a list of dates in the formats "MM/DD/YYYY", "DD-MM-YYYY", or "YYYY.MM.DD".

Try it yourself

import re

def find_dates_various_formats(text):
    # Write code here

All lessons in RegEx in Python