title: Regex number phone
body: <p>My words (phone numbers) may have in the beginning "00" or "+". </p>
  
  <p>Example number phone: </p>
  
  <pre><code>00xxx xx xxxxxxx
  +xxx xx xxxxxxx
  (+xxx) xx xxxxxxx
  (00xxx) xx xxxxxxx
  </code></pre>
  
  <p>I have:</p>
  
  <pre><code>Regex regexObj = new Regex(@"^\(?[+( ]?([0-9]{3})\)?[) ]?([0-9]{2})[- ]?([0-9]{7})$");
  
  if (regexObj.IsMatch(TextBox1.Text))
  {
      // IF OK
      string formattedPhoneNumber = regexObj.Replace(TextBox1.Text, "(+$1) $2 $3");
  }
  </code></pre>
  
  <p>How to put it in the regular expression? For now I can only put the "+", and "(" , ")"  </p>
  
  <p>thanks</p>