django - How do I regex {% anything here %}? -



django - How do I regex {% anything here %}? -

i need regex (% %)

e.g. want regex match {% %} or {% %}.

you use

\{\%(.*?)\%\}

regex django

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -