Regex matching between two strings?

this should do the trick

 m = re.findall ( '<!--(.*?)-->', string, re.DOTALL)

Leave a Comment