import datefinder string_value = " created 01/15/2005 by ACME inc.and associates.January 4th,2017 at 8pm" matches = datefinder.find_dates(string_value) for match in matches: print("match found ",match)