For example I have this string, where email addresses are differently formatted:
"a.b@c.d" <a.b@c.d>|"Michal pichal (michal.pichal@g.d)" <michal.pichal@g.d>|Melisko Pan <melisko.pan@domena.sk>
I need to extract the email addresses in a form of:
a.b@c.d|michal.pichal@g.d|melisko.pan@domena.sk
My idea was to get any char near @ from group [0-9][A-Z][a-z]@.- but I do not know how. Please help with some hint.