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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for extractor_phone_email-1.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e47b946df2e65d891ea0dc521bda0a5cf01159530d030a324e094503e5419dd |
|
MD5 | bfdb7e86b2fe64c18dee3eb16f74ca97 |
|
BLAKE2b-256 | cb69c0daaf5908d47472f9057d8d2d90655863b6fc0f3aaa279451227a028a64 |