import re


def remove_url(text, replace_token):
    """
    Removal of URLs

    :param str text: Input string of text
    :param str replace_token: The token to be replaced
    :return str string: A new text
    """

    regex = 'http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+'
    return re.sub(regex, replace_token, text)