title: Why does my regex fail to match email?
body: <p>I have to following code to validate an email address</p>
  
  <pre><code> var reg = new Regex(@"/^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/");
  
   string e1 = "name@host.net";
   string e2 = "namehost.net";
  
   bool b1 = reg.IsMatch(e1);
   bool b2 = reg.IsMatch(e2);
  </code></pre>
  
  <p>but both <strong>b1</strong> and <strong>b2</strong> fail</p>