preg_match("/\\(.*?)\\/sim", $metin, $sonuc);

echo $sonuc[0];