In case someone needs a regular expression (xdazz suggested to try this and student310 commented it works for her/his needs)
if (preg_match_all('/@(\w+)\s+(.*)\r?\n/m', $str, $matches)){
$result = array_combine($matches[1], $matches[2]);
}
Example (Demo):