I need to extract email address from a string like this (I'm making a log parser):
<some text> from=someuser@somedomain.com, <some text>
with egrep (or grep -Eo). So the string needs to be pulled out only between "from=" and "," , because the other parts of log contain email addresses too, like to= and etc