Skip to content

mahanmalayeri/Email_Extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

📧 Email Extractor

This project is a simple and practical Python + Streamlit application that extracts all email addresses (any domain) from a given text using Regular Expressions.


✨ Features

  • ✅ Extract email addresses from text (Gmail, Yahoo, Outlook, custom domains, etc.)
  • ✅ Simple and user‑friendly Streamlit interface
  • ✅ Uses a standard and reliable Regular Expression
  • ✅ Beginner‑friendly and easy to understand
  • ✅ Easily extendable (export to file, remove duplicates, etc.)

🛠 Technologies Used

  • Python 3
  • Streamlit
  • Regular Expressions (re)

📂 Project Structure

project-folder
│
├── test.py
├── gmail.png
└── README.md

⚙️Prerequisites

Make sure the following are installed on your system:

Python 3.8+ pip (Python package manager) Install Streamlit Run the following command in your terminal or command prompt:

pip install streamlit

▶️ How to Run the App

streamlit run test.py

🧪 How It Works

Enter text containing Gmail addresses Click Extract Email The extracted mail addresses will be displayed as a list

Contact us at:
Contact us at:
info@gmail.com
support@yahoo.com
admin@company.ir
help@my-site.co.uk

Output

[
  'info@gmail.com',
  'support@yahoo.com',
  'admin@company.ir',
  'help@my-site.co.uk'
]

🧠 Regex Used

The application uses the following regular expression to extract email addresses:

[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}

About

Extract any email address from any text in streamlit

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages