Package that allows, with regular expressions, to extract from texts, phone numbers and emails
Project description
Extractor_phone_email
Extract return 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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 346f60299c62873bd322c5881ee13d6e34a90c80facd026b8663a1482d544380 |
|
MD5 | 241543215dd768c1c2fa0088e36eb1e8 |
|
BLAKE2b-256 | 7896d90c02884426375ba35402e4ead9ca76c06646d94cdac0f584eae8230335 |