I have a problem with a substition
The text is;
From: aaa@bb.netxxxMessage-Id: xxx<200902131530.n1DFUZ5l001303@aaa.bb.net>xxxTo: xxx@yyy.netxxxSubject: Size atanan xxx numarali ticket hakkindaxxxContent-Type: text/plain; charset=ISO-8859-9xxxContent-Transfer-Encoding: 7bit
The substitution regex is;
$to_email =~ s/.+To:\s(.*)xxx/\1/;
The result is;
xxx@yyy.netxxxSubject: Size atanan xxx numarali ticket hakkindaxxxContent-Type: text/plain; charset=ISO-8859-9xxxContent-Transfer-Encoding: 7bit
The result must be;
xxx@yyy.net
Please help... Thanks in advance.
In reply to Regex substitution problem by mahira
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |