Updated regex to support server logs.