Need a regex to match anything between {{% and }}

Hi there

I need a regex to match any thing between {{% and }} that work with utf8 characters too.

for now im using ‘#{{%(\w|\s|\?|\.|\+|\|\^|\-)}}#u’ but there are some special chars that i cant handle them, for example check the uploaded file.

thanks in advanced.

How about this one -

nope, but solved here :