body: Here is an example of a multi-line section of text that I'm trying to grab. attachment: #### if ($line =~ /^body: (.*)^attachment:/mi) { $vars{body} = $1; }