Advertisement
2002VB Internet/ HTML #18381

ValidateEmail

Provides the user with a means of validating an email address. Using the like keyword, checks the email address with a specific pattern and will pick up on invalid chars for example, [email protected] will return false as would john.doe@com.

AI

AI Samenvatting: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Broncode
original-source
Public Function ValidateEmail(strEmail As String) As Boolean
 
ValidateEmail = strEmail Like "*@[A-Z,a-z,0-9]*.*"
 
End Function
Originele reacties (3)
Hersteld van de Wayback Machine