title: How can I proper validate the phone number field?
body: <p>I'm stuck at a point. I need to validate a phone number by preventing below formats. For now I've applied the 10 digits validation but below formats are not correct.</p>
  
  <pre><code>0000000000
  1111111111
  2222222222
  3333333333
  4444444444
  5555555555
  6666666666
  7777777777
  8888888888
  9999999999
  </code></pre>
  
  <p>also I need to avoid those numbers which are starting with either <code>1</code> or <code>0</code>. Like validation should avoid below formats as well.</p>
  
  <pre><code>1xxxxxxxxx
  0xxxxxxxxx
  </code></pre>
  
  <p>Can anyone suggest me a way of doing that ?</p>