- preg_replace: documentation ( source)
<?php
$title = "Good job overall!\r\n\r\n*********************************************************************** \r\n\r\nSoft skills: Please don't forget to ask customers for the reason of cancellation";
$new_title = preg_replace("/[\n\r]/","",$title);
echo $new_title;