Php preg_match code for match the phone number
<p><code>preg_match()</code> is not working in <code>+(91) 111 11111</code></p>

<p>The code is:</p>

<pre><code>$number = +91 111 11111;

if (preg_match('/^\s*(?:\+?(\d{1,3}))?[(]\+[)]?([-. (]*(\d{3})[-. )]*)?((\d{3})[-. ]*(\d{2,4})(?:[-.x ]*(\d+))?)\s*$/', $number)) {
   echo "True"; 
}
</code></pre>

<p>It is working. But not working in <code>+91 (111) 11111</code></p>