I know virtually no Regular Expressions, and I want to know if this about right for validating a given e-mail address?
Code:var emailRE = new RegExp(/^(\S)+\@(\S)+\.(\S)+$/); alert(emailRE.test(formElement.email.value))
|
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |