Skip to content

A project to quickly extract all email addresses from any file (except .sql file dump)

Notifications You must be signed in to change notification settings

yavuzwb/E-mail-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

E-mail-extractor

A project to quickly extract all email addresses from any file (except .sql file dump)

Features

  1. Extract all addresses with regex
  2. Convert to domain extension to lowercase
  3. Order them alphabetically
  4. Remove duplicate email addresses
  5. You can specify domain addresses to exclude
  6. Save them to an output file

The regex I've used here: r'([A-Za-z0-9._%+-]+)@([A-Za-z0-9.-]+.[A-Za-z]{2,})'

Notes

  1. Do not forget to specify the file paths (input_filename, output_filename, exclude_domains_file)
  2. It works with Python 3.12.0

About

A project to quickly extract all email addresses from any file (except .sql file dump)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages