How to match the following two results with regular expressions? there can be anything inside the double parentheses.

there is a string

{{text}}sdkfje{{text}}321sd

how to match the following two results with regular expressions. There can be anything inside the parentheses

{{text}}
{{text}}

only one result can be matched with this, embarrassing ~
/ {{. +}} / g

Mar.05,2021

check the match

the rules are as follows:

{{[^{}]*}}

/ {{. +?}} / g Link description

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35e90-2bfdd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35e90-2bfdd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?