regex mendapatkan teks antar kawat gigi
$text = 'ignore everything except this {{ text1 }}';
preg_match('#\{\{(.*?)\}\}#', $text, $match);
var_dump($match);
Alemhar
$text = 'ignore everything except this {{ text1 }}';
preg_match('#\{\{(.*?)\}\}#', $text, $match);
var_dump($match);
$text = 'ignore everything except this {{ text1 }}';
preg_match('#\{\{(.*?)\}\}#', $text, $match);
$match[1];