def convert_price_text(t):
    """
    convert "$175/month' to 175
    :param t:
    :return: price, unit (i.e. 175, 'month')
    """

    tok = t.split('$')[1]
    if '/' in tok:
        price, unit = tok.split('/')
    else:
        price = tok
        unit = None

    return float(price.strip().strip('$').replace(',', '')), unit