Codice PHP:
$testo preg_replace("#0000000|(.+?)|ADMIN#si""0000000||ADMIN"$testo);