hope this helps...if (($data =~ /Subject:(.*)\*\*(.*)\*/i)) { $out = trim($2); } print $out; exit;
Note: Sorry, Remove '&trim' or use an appropriate trim subroutine
In reply to Re: Regex Question
by Matt™
in thread Regex Question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |