Advertisement
7_2009-2012 Internet/ HTML #218662

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, john.doe@.test.com will return false as would john.doe@com.

AI

AI 摘要: 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.

源代码
original-source
Public Function ValidateEmail(strEmail As String) As Boolean
 
ValidateEmail = strEmail Like "*@[A-Z,a-z,0-9]*.*"
 
End Function
原始评论 (3)
从 Wayback Machine 恢复