<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Openshift - Tag - JMS Blog</title><link>/tags/openshift/</link><description>Openshift - Tag - JMS Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Tue, 09 Jun 2015 00:00:00 +0000</lastBuildDate><atom:link href="/tags/openshift/" rel="self" type="application/rss+xml"/><item><title>Checking and validating phone numbers</title><link>/posts/2015-06-09-checking-and-validating-phone-numbers/</link><pubDate>Tue, 09 Jun 2015 00:00:00 +0000</pubDate><author>jms</author><guid>/posts/2015-06-09-checking-and-validating-phone-numbers/</guid><description><![CDATA[<p>In applications sometimes is needed check and verify if a phone number is
valid or possible if the number have all required digits to be valid for this
purpose there are several options to tackle the problem like regular
expressions for example to validate <a href="http://en.wikipedia.org/wiki/E.164" target="_blank" rel="noopener noreffer ">E.164
format</a>, library like the [Google
libphonenumber](http://Google libphonenumber) and API like the <a href="https://www.twilio.com/lookup" target="_blank" rel="noopener noreffer ">Twillio
Lookup</a> for something more complete.</p>
<p>for this post i created a small app for test a demo purpose using the [python
port of the Google library](<a href="https://github.com/daviddrysdale/python-" target="_blank" rel="noopener noreffer ">https://github.com/daviddrysdale/python-</a>
phonenumbers)</p>]]></description></item></channel></rss>