Socket
Socket
Sign inDemoInstall

extractor-phone-email

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    extractor-phone-email

Package that allows, with regular expressions, to extract from texts, phone numbers and emails


Maintainers
1

Readme

Extractor_phone_email

Get from text or clipboard emails and phone numbers

Install

$ pip install extractor-phone-email

How to use

# Import pakage
from extractor_phone_email import extractor

# Make an intance reading the clipboard
myExtractor = extractor.Extractor()

# Make an intance with specific text
myExtractor = extractor.Extractor("This is an example text +524493247419 hernandezdarifrancisco@gmail.com")

#Return all numbers and emails
myExtractor.get()

# Return only phone numbers
myExtractor.get_phones()

# Return only emails
myExtractor.get_emails()

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc