Get the rest of the string after a certain character
This is how to extract a sub string within a string by getting all after a certain character, in this case "\\".
<?php
$string = "[SQL Server Job System:] 'MPlan.Full Backup' completed on \\SERVER34";
//after \\
preg_match("/^.+?\\\(.+)$/is" , $string, $out);
//result: array 0 => [SQL Server Job System:] 'MPlan.Full Backup' completed on \\SERVER34
// 1 => SERVER34
//after ]
preg_match("/^.+?\](.+)$/is" , $string, $out);
//result: array 0 => [SQL Server Job System:] 'MPlan.Full Backup' completed on \\SERVER34
// 1 => 'MPlan.Full Backup' completed on \\SERVER34
?>