date_reg_exp = re.compile('\\d{4}[-/]\\d{2}[-/]\\d{2}')
test_str = """
     fsf2010/08/27sdfsdfsd
     dsf sfds f2010/08/26 fsdf 
     asdsds 2009-02-02 afdf
     """
matches_list = date_reg_exp.findall(test_str)
for match in matches_list:
    pass
match dates using python regular expressions