import unicodedata


def phonenumber_from_raw_contact(raw_phone_string):
    """Parses a phone number from a raw contact string, which could include
    unicode whitespaces.
    e.g. "&nbsp;&nbsp;&nbsp; /&nbsp;&nbsp; 555-555-1959"

    Arguments:
        raw_phone_string {str} -- Raw unicode string that includes a phone number.
         e.g. "&nbsp;&nbsp;&nbsp; /&nbsp;&nbsp; 555-555-1959"

    Returns:
        [str] -- Phone number as a string.
    """
    phonenumber = unicodedata.normalize("NFKC", raw_phone_string).strip()
    # Some phone numbers are prefixed with "(cell)", get rid of that
    phonenumber = phonenumber.strip("(cell)") \
                                .strip(" – ")
    return phonenumber