in reply to Regex Question
if (($data =~ /Subject:(.*)\*\*(.*)\*/i)) { $out = trim($2); } print $out; exit; [download]
Note: Sorry, Remove '&trim' or use an appropriate trim subroutine