code: def split_and_strip_without(string, exclude, separator_regexp=None):
      
      result = split_and_strip(string, separator_regexp)
      if not exclude:
          return result
      return [x for x in result if x not in exclude]
docs: Split a string into items, and trim any excess spaces
  
      Any items in exclude are not in the returned list
  
      >>> split_and_strip_without('fred, was, here  ', ['was'])
      ['fred', 'here']