import re


def remove_links(text: str) -> str:
    """ 
    Removes links from a text.

    Args:
        text (:obj:`str`):
            Text to process.

    Returns:
        :obj:`str`:
            Text without links.
    """

    # add empty character between two paragraph html tags to make processing easier
    text = re.sub('</p><p>', '</p> <p>', text)

    #return re.sub('http[s]*[:]*[\/]*[a-z0-9./-]*', '', text, flags=re.MULTILINE)
    return re.sub(r"http\S+", "", text)