import string


def _standardize_carrier(carrier):
    """Turn carrier names into lowercase,
    remove extraneous characters and words"""
    carrier_lower = carrier.lower()
    replacement_values = [
        *string.punctuation,
        ' ',
        'mobile',
        'wireless',
    ]
    for i in replacement_values:
        if i in carrier_lower:
            carrier_lower = carrier_lower.replace(i, '')
    return carrier_lower