Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/calebmadrigal/email-extractor

Extracts emails from stdin and prints them out as a comma-separated list.
https://github.com/calebmadrigal/email-extractor

Last synced: about 1 month ago
JSON representation

Extracts emails from stdin and prints them out as a comma-separated list.

Awesome Lists containing this project

README

        

email-extractor
===============

Extracts emails from stdin and prints them out as a comma-separated list.

## Examples

$ cat testdata.txt | ./email_extractor.py
[email protected], [email protected], [email protected]

$ echo "several emails [email protected] more stuff [email protected] blah blah blah" | ./email_extractor.py
[email protected], [email protected]

## Motivation

I often need to send emails to groups of people, whose emails I have in some unorganized format. This script lets me just paste that unorganized data containing emails, and it outputs a comma-separated list I can just paste into my email program.