import string


def get_text_from_comment(comment):
    """
    Get cleaned body from comment.
    """
    if comment.body:
        body = comment.body
        exclude = set(string.punctuation.replace("'", ""))
        body = "".join(char for char in body if char not in exclude)
        body = " ".join(word for word in body.split(" ") if not word.startswith("http"))
        return body
    else:
        raise Exception("Could not find body for comment", comment.id)