def remove(text, what, count=None, strip=False):
    '''
    Like ``replace``, where ``new`` replacement is an empty string.
    '''
    return replace(text, what, '', count=count, strip=strip)
def remove ( text , what , count = None , strip = False ) : return replace ( text , what , '' , count = count , strip = strip )
Like ``replace``, where ``new`` replacement is an empty string.