def clean_response(response):
    """
    Remove some EOL remainders from the resulting scope response

    Args:
        response (str): response from the scope

    Returns:
        str
    """
    response = response.replace('\r\n>', '')
    response = response.replace('\r\n', '')
    response = response.replace('\n\r', '')
    response = response.replace('>', '')
    response = response.replace('<', '')
    response = response.replace('\n', '')
    return response
