<?php

$re = "/(?!^)@@(.*?)@@/"; 
$str = "@@lang_eng_begin@@test@@lang_eng_end@@ "; 
preg_match($re, $str, $match);
print_r($match[1]);