![]() |
|
|
Email Validation using Regular Expressions in ASP/VBScriptBelow is the code for a function 'validEmail' that will check the syntax of an email. Note that the function will only check for the proper syntax it will not check to make sure if the email really exists. If the email is valid then it will return True otherwise it will return False. <% Using the function above here are 2 examples: <% Response.write validEmail("test@testemail") %> Output: <% Response.write validEmail("test@testemail.com") %>
Output:
Membership Software Integrates with PayPal
If you have any code snippets to share with full credit given then send an email to Codesnippets - You'll receive full credit and a link back to your site. Site developed by Michael Wall - Web Design Belfast N.Ireland. |
|