Skip to content

A Python script to extract unique email addresses from text files. Efficient email extraction from multiple text files using Python.

License

Notifications You must be signed in to change notification settings

FireXCore/Python-Email-Extractor-from-Text-Files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Python Email Extractor from Text Files

Overview

This script allows you to extract unique email addresses from .txt files in a specified directory. It processes each text file, finds all email addresses using regular expressions, and outputs the results to a new file with a _emails.txt suffix.

How to Use

Visit here to read the full guide : 🌐 https://firexcore.com/blog/python-email-extractor/

Notes

The script only processes .txt files in the same directory as the script.
All email addresses are saved in a new file with duplicates removed.
Ensure your .txt files are encoded in UTF-8 to avoid decoding errors during processing.

Troubleshooting

If you encounter any issues with file encoding or email extraction, ensure that your text files are properly formatted and free of special characters that might interfere with the script.

Contact for Issues

If you run into any problems or have suggestions for improvements, please open an issue on the GitHub repository.

About

A Python script to extract unique email addresses from text files. Efficient email extraction from multiple text files using Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages