Project Phone Number and Email Address Extractor
Done with macOS 11.5 and Python 3.9.2
From the book Automate the Boring Stuff with Python, 2nd edition
- Chapter 7
- Webpage
- regex tutorial
- pythex - to test your regex
- RE docs
- Get text off the clipboard.
- Find all the emails and phone numbers in the text.
- Paste the results back to the clipboard.
Install module pyperclip
pip3 install --user pyperclip
For testing, go to Test Data ctrl-A to select all text and ctrl-C to copy to clipboard Then run program