how i can build custom Regular Experssion RegExp
Any One Help me how i can build a custom RegExp To Validate Email and not left blank
<asp:RegularExpressionValidator ForeColor="#FFFFFF" ControlToValidate="email" CssClass="fnt" runat="server" ValidationExpression="^[\w-]+@[\w-]+\.(com|net|org|edu|mil|info)$"
when a user submit the form.
this experssion works well for email validation but it isnt work for blank email input.
any one tell me how i can correct it.
Thanx In advance. YoOrD
__________________
YoOrD .
Beauty is not on the face
Beauty is on the heart
~~<<Ghibran Khalil>>~~
|