$line){ $res = preg_replace($pattern,$replace,$line); echo $res; } ?>