<?php

$mystring = "echo Harmless";

preg_replace("/(Harmless)/", "echo \"$1\"", $mystring);

?>
