import re


def crush_time(text):
    """ Extract and crush YYYY-MM-DD into YYYYMMDD.
        If not date string, return original string
    """

    date_string_search = re.search(r'\d{4}[\.|\-|:|\/]\d{2}[\.|\-|:|\/]\d{2}', text) # date pattern: YYYY[sep]MM[sep]DD
    if date_string_search:
        date_string = re.sub(r'[\.|\-|:|\/]','', date_string_search.group(0)) # convert date string: YYYYMMMDD
    else:
        date_string = text # if no date found, use info[:10] part

    return date_string