codice:
preg_match("#_(.*)_#",$stringa,$ris);
echo $ris[1];