title: RegularExpressionValidator that get a regular expression of either Email or numbers or English characters?
body: <p>I'm trying to set a regular expression to <code>asp:RegularExpressionValidator</code> that gets either an Email , numbers (0-9) , or English characters (a-z A-Z) .</p>
  
  <p>When I try to put them with an OR operation between them : </p>
  
  <pre><code>&lt;asp:TextBox ID="TextBox1" CssClass="textbox" runat="server"&gt;&lt;/asp:TextBox&gt;
  
  &lt;asp:RegularExpressionValidator ID="RegFieldUserCodeLoginM" CssClass="" runat="server" ControlToValidate="TextBox1" ValidationGroup="LoginGroup"  
  Text="Only English characters and numbers are allowed , email addresses included!" 
  ValidationExpression="\A(?:[a-z0-9!#$%&amp;'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&amp;'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)\Z | ^[a-zA-Z0-9]+$"&gt;&lt;/asp:RegularExpressionValidator&gt;
  </code></pre>
  
  <p>The regular expression doesn't work . </p>
  
  <p>How can I do an OR operation between both of them ? </p>
  
  <p>Thanks </p>