Codice PHP:
$cerca = array("[[Nome]]","[[Data]]","[[Città]]");
$model str_replace($cerca,$dati,$model);