Posted on March 21, 2010March 21, 2010Retrieve email address from text using grep grep -Eoh ‘[A-Za-z0-9\-\.\_]+@[A-Za-z0-9\-\_]+\.[A-Za-z0-9\-\.\_]+’ filename