python regex to match string excluding word,"re.search('^((?!bantime|(invokername=server)).)*$', s, re.M).group()"