<?php echo preg_replace('#\n#u','xxxx',$string);
You have javascript disabled. You will not be able to edit any code.