Email Validity Verification
Function ISEMAIL (s)
{
Var regu = "^ (([0-9A-ZA-Z] ) | ([0-9A-ZA-Z] [_. 0-9A-ZA-Z -] * [0-9A-ZA- Z] ) @ ([A-ZA-Z0-9 -] [.]) ([A-ZA-Z] {2} | NET | COM | GOV | MIL | ORG | EDU | INT) $ "
Var RE = New Regexp (Regu);
IF (S.Search (RE)! = -1) {
Return True;
} else {
WINDOW.Alert ("Please enter a valid legal E-mail address!")
Return False;
}
}
script>
"^ // D $" // Non-negative integer (positive integer 0)
"^ [0-9] * [1-9] [0-9] * $" // positive integer
"^ ((- // d ) | (0 )) $" // Non-integer (negative integer 0)
"^ - [0-9] * [1-9] [0-9] * $" // negative
"^ -? // D $" // integer
"^ // d
////d )? $ "// Non-load floating point number (positive floating point 0)
"^ (([0-9] //. [0-9] * [1-9] [0-9] *) | ([0-9] * [1-9] [0-9] * //.[0-9] )| ([0-9]*[1-9][0-9]*) "$" // Positive floating point number
"^ ((- // D )
//.//d )?)| (0 (/.0 ) ?)) $ "// Non-positively floating point number (12)
"^ (((((((((((([0-9] //. [0-9] * [1-9] *) | ([0-9] * [1-9] [0-9 ] * //. [0-9] ) | ([0-9] * [1-9] [0-9] *))) $ "// load floating point number
"^ (-? // d )
////d )? $ "// floating point number
"^ [A-ZA-Z] $" // String consisting of 26 English letters
"^ [A-Z] $" // String consisting of 26 English letters
"^ [A-Z] $" // String consisting of 26 English letters
"^ [A-ZA-Z0-9] $" // String consisting of numbers and 26 English letters
"^ // w $" // string consisting of numbers, 26 English letters or underlined
"^ [// w -]
//.[/W-] ) *@[ //w-] (//.[/W-] ) // email address
"^ [A-ZA-Z] : //
//W (-//w ) * (//. (//w (-//w )** )) * (////s*)? "// URL