enure » post

Grab Email Addresses from a Text File Using Grep

Via the command line:

grep -E -o --color "\b[a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9.-]+\b" source.txt > output.txt

* * *

search

Or, see a list of articles