from re import sub


def remove_multiple_spaces(string):
    """
    Strips and removes multiple spaces in a string.

    :param str string: the string to remove the spaces from
    :return: a new string without multiple spaces and stripped
    """
    return sub(" +", " ", string.strip())