- preg_match: documentation ( source)
- explode: documentation ( source)
<?php
$str = "New(mbambenek,05-08-2015 11:03:12),In_Work(mbambenek,05-08-2015 16:05:59)";
$matches = [];
preg_match('/New\(([^)]+)\)/', $str, $matches);
list($name, $time) = explode(",",$matches[1]);
echo $name,"\n",$time;