in reply to Re^4: regex pattern matchin thread regex pattern match
I managed to resolve this with the following pattern
$out =~ m/TaskName:\s+$task.*?Status:\s+(.+?)\n.*?\n+Last Result:\s+(\ +d)/s [download]