def METHOD_NAME(text):
    """Reduces multiple newlines to a single newline.
    :arg text: text with multiple newlines
    :type text: str
    :returns: text with single newlines
    :rtype: str
    >>> reduce_newlines('hello\\n\\nworld')
    'hello\\nworld'
    """
    return RE_NEWLINE.sub('\n', text)