SHARE
TWEET

Untitled

a guest Oct 4th, 2017 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Match email address from list of Name,Email , email can be with country code domain or company domain.
  2.  
  3. # List of names (file names.txt)
  4. Cameron Carr    cameron.carr@example.com
  5. Tim Burgess tim@example.us
  6. Wanda   Dyer    wanda@example.com
  7. Bella   Dowd    bella.dowd@example.com
  8. Madeleine   Mills   madeleine.mills@example.us
  9.  
  10. grep -Eo '(\w+\.)?\w+@\w+\.[a-z]{2,3}$' names.txt
  11. cameron.carr@example.com
  12. tim@example.us
  13. wanda@example.com
  14. bella.dowd@example.com
  15. madeleine.mills@example.us
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top