regular expression matching all but a string,"res = re.findall('-(?!(?:aa|bb)-)([^-]+)(?=-)', s)"