title: Regex needed to match a domain name for django view
body: <p>I'm trying to match a url with a domain like:</p>
  
  <p>Testing.com
  testing.com
  Testing.net
  testing.net
  Testing.org
  testing.org</p>
  
  <p>and other extensions as well.</p>
  
  <p>I'm trying to formulate a regex to use in a django view like:</p>
  
  <pre><code>(r'^Account/Testing/d=([a-z]{1,50})$', TestApp),
  </code></pre>
  
  <p>I tried <code>^[A-za-z]{2,50}$</code> but that doesn't match a domain with capital letter in the beginning</p>
  
  <p>Any help? </p>
  
  <p>Thank you!</p>