title: regular expression for indian phone number
body: <p>am looking for the regular expression of indian phone number</p>
  
  <p>the regular expression should allow all the following formats.</p>
  
  <p>for landline no</p>
  
  <pre><code>0802404408
  080-2404408
  +91802404408
  +91-802404408
  </code></pre>
  
  <p>for mobile no</p>
  
  <pre><code>8147708287
  08147708287
  +918147708287
  +91-8147708287
  </code></pre>
  
  <p>can anyone help me, thanks in advance</p>
  
  <p>my code is</p>
  
  <pre><code>[RegexValidator("[0-9 -]*"
  , MessageTemplateResourceName = "INVALID_PHONE"
  , MessageTemplateResourceType = typeof(ValidatioinErrors))]
  public string Phone
  {
          get { return phone; }
          set { phone = value; }
  }
  
  public bool IsValid()
      {
          return Validation.Validate&lt;Class_name&gt;(this).IsValid;
      }
  
      public ValidationResults ValResults
      {
          get
          {
              return Validation.Validate&lt;Class_name&gt;(this);
          }
      }
  </code></pre>
  
  <p>for this validation thing I just referred </p>
  
  <pre><code>using Microsoft.Practices.EnterpriseLibrary.Validation;
  using Microsoft.Practices.EnterpriseLibrary.Validation.Validators;
  </code></pre>
  
  <p>in my namespace, in the UI part the expression is working fine, but in the code behind as above, it shows "Invalid Phone number", if I give value as 080-2404408</p>