Deletes everything between regexes start and end from string

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