import re


def strip_ip(host_address):
    """
    strip_ip will remove http and ws prefixes from a host address
    """
    regex = re.compile(r"(https)?(http)?(ws)?://(www\.)?")
    new = regex.sub('', host_address).strip().strip('/')

    return new