Hi,

Is it possible to extract the last field using extract in exim?

Suppose the input is:

"[email protected]" <[email protected]>

I need to extract the last field when delimiter is '@'.
Using ${extract {3}{@}{"[email protected]" <[email protected]>}}, I can obtain jkl.com>
. But i needed a generic solution.  As incase there are >3 @ , then the
obtained output will not be the expected one. How can I achieve this?

Thanks in advance.

-- 
Regards,
Soumya
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to