Blog

10Sep2015

How to: extract email addresses from a plain text file

You’ve received a plain text file containing email addresses and other info.  You only need a list of email addresses.  In linux terminal execute this command

grep -Eiorh ‘([[:alnum:]_.]+@[[:alnum:]_]+?\.[[:alpha:].]{2,6})’ >

where

: file to process

: file where the email addresses will be saved

 

  • 10 Sep, 2015
  • admin
  • 0 Comments

Share

Categories

Comments