$text =~ /XYZ:(.*?)\@mail.cp/
with a backslash before the @ to avoid string interpolation.
pike
In reply to Re: Gimmie the Stuff Between Two Keywords
by pike
in thread Gimmie the Stuff Between Two Keywords
by mumbles
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |