def remove_newlines(s):
    """ Strips all the newline characters (\\n) from the given input string.

    >>> remove_newlines('abcd\\nefgh')
    'abcdefgh'

    Args:
        s: The sreing to remove newlines from.

    Returns: A new string with all the \\n characters deleted.
    """
    return s.replace('\n', '')