unfurl
unfurl copied to clipboard
Parse phone numbers
Description Consider parsing phone numbers? Not sure how useful/common it would be, but there's a pip package that does most of the work.
Examples
import phonenumbers x = phonenumbers.parse("+442083661177", None) print(x) Country Code: 44 National Number: 2083661177 Leading Zero: False
References
- https://pypi.org/project/phonenumbers
- https://github.com/daviddrysdale/python-phonenumbers
gft
Example: https://wa.me/85264522442?text=Hello,+I+am+interested+in+knowing+more+about+your+products Source: https://www.youtube.com/watch?v=Fit-FTSSiJY