title: ReGex Phone No Format in Philippines
body: <p>I'm trying to match exactly the following format:</p>
  
  <pre><code>+639201112222
    09201112222
  </code></pre>
  
  <p>and this is all Ive tried so far:</p>
  
  <pre><code>(\+63|0)?\d{10}
  </code></pre>
  
  <p>the problem is that it match <code>2920111222</code> in <code>29201112222</code>. How can i create a pattern that will match only the formats below?</p>
  
  <pre><code>+63XXXXXXXXXX 
    0XXXXXXXXXX
  </code></pre>
  
  <p><code>+63 or 0</code> plus <code>10 digit number</code> only</p>
  
  <p>where <code>X</code> are all digits from <code>0-9</code>.</p>
  
  <p>Thank you.</p>