| I think a RegEx would be more along the lines of what you're
| trying to
Yes, I use this in JavaScript which you could
adapt:
val = // the e-mail string
if
(val.search(/^\w+((-\w+)|(\.\w+))[EMAIL PROTECTED]((\.|-)[A-Za-z0-9]+)*\.[A-Za
-z0-9]+$/) == -1)
{
// e-mail is not valid
}
HTH,
Mark.
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.5/322 - Release Date: 22/04/2006
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>