function validate(str)
{
var expression=/^([a-zA-Z0-9\-\._]+)@(([a-zA-Z0-9\-_]+\.)+)([a-z]{2,3})$/;
if(!(expression.test(str)) )
return false;
else
return true;
}
Wednesday, October 19, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment