import re


def strip_spaces(string):
    """Remove white-space from a string
    Parameters
    ----------
    string: str

    Returns
    -------
    str
    """
    pattern = re.compile(r'\s+')
    return re.sub(pattern, '', string)