Skip to main content

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

Project description

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

extractor_phone_email-1.0.3.tar.gz (3.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page