import re


def remove_endline_char(raw_sentence):
    """
    This method removes all the end-line characters from a string.

    :argument:
        :param raw_sentence: String
    :returns:
        clean_str: String which does not contain new line character
    """
    clean_str = re.sub(r"\n", r"", raw_sentence)
    return clean_str