Created
July 4, 2014 06:27
-
-
Save flrngel/3698f0267d87e9e25e94 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -E -o "\b[a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9.-]+\b" filename.txt | |
egrep -o "\b[a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9.-]+\b" filename.txt | |
from | |
http://www.putorius.net/2011/12/grep-all-email-addresses-from-text-file.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment