def text_cleaner(text: str):
    """
    Removes \r and \n from a text string.

    :param text: (str) the text you want cleaned.
    :returns: (str) the cleaned text
    """
    text = text.replace("\r", "")
    text = text.replace("\n", " ")
    return text