Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

extractor-phone-email

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

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

  • 1.0.3
  • Source
  • PyPI
  • Socket score

Maintainers
1

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

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc