|
|
|
RegEX Email Validatoin
8
shortkid422
This will return a boolean (true/false) if the email address is valid or not.
function validateEmail($email) {
return eregi("^[a-z0-9]+[a-z0-9_.-]*@[a-z0-9]+[a-z0-9_.-]*\.[a-z]{2,4}$",$email);
}
Comments
Thu. Oct. 19th, 2006 9:07 PM
bugmenot
bugmenot
Tue. Oct. 10th, 2006 8:29 AM
seriouslyuguys
seriouslyuguys



