Ho risolto, grazie.

Codice PHP:
if (eregi ("\[SEGNAPOSTO\](.+)\[/SEGNAPOSTO\]"$stringa$regs)) {
    echo 
$regs[1];