m/(\d{4}/\d{2}/\d{2}\s*?\d{2}:\d{2}:\d{2}\s*?$name\s*Communications Alarm\s*Critical|Minor\s*?.{17})/; $data = $1;