Python regular expression matching liquid code : I'm building a website using Jekyll and for reasons too tedious to specify here I would like to automatically remove liquid code (and **only** liquid code) from a given .html file. I'm doing it in python using regular expressions, and so far I have this one:

    \{.*?\}|\{\{.*?\}\}

As I am not too familiar with liquid (and .html), could someone confirm that this will suffice for my goal?