import re


def strip_nbsp(s):
    """ Replace '&nbsp' with spaces and then strip (beginning and end) spaces.
        An interior &nbsp; will remain an interior space"""
    return re.sub("&nbsp;", " ", s).strip()