import re


def geturls(text):
    """
    Finds all the urls in the string

    :param text: the string to search in
    :return: set of urls found in the string
    """
    urlregex = re.compile(
        r'(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?')

    urls = set()
    for word in text.split(' '):
        match = urlregex.search(word)
        if match:
            urls.add(match.group())

    return urls