https://github.com/patrickmn/emailsfromfile
Extract all email addresses from a file
https://github.com/patrickmn/emailsfromfile
Last synced: about 1 year ago
JSON representation
Extract all email addresses from a file
- Host: GitHub
- URL: https://github.com/patrickmn/emailsfromfile
- Owner: patrickmn
- Created: 2011-02-19T23:09:00.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2011-02-20T22:05:19.000Z (over 15 years ago)
- Last Synced: 2025-04-04T04:32:09.044Z (about 1 year ago)
- Language: Python
- Homepage: https://patrickmn.com/projects/emailsfromfile/
- Size: 110 KB
- Stars: 8
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
EmailsFromFile
http://patrickmylund.com/projects/emailsfromfile/
EmailsFromFile is a Python script that extracts all unique email addresses from
a file. It follows a regular expression pattern based on the RFC 2822 standard
and should thus return all valid email addresses regardless of how they appear
in the file. For example, EmailsFromFile will distinguish between separate email
addresses in a comma-separated list of values, such as a CSV file containing names,
addresses, phone numbers and email addresses.
Usage: python emailsfromfile.py [separator] [encoding]