code: def strip_between(self, string, start, end):
          
          regex = start + r'.*?' + end + r'\s*'
          res = re.sub(regex, '', string,
                       flags=re.DOTALL|re.IGNORECASE|re.MULTILINE)
          return res
docs: Deletes everything between regexes start and end from string