function test()
{
var temp = ("text1");
//Verification of email
var myreg = /^([a-zA-Z0-9]+[_|/_|/.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|/_|/.]?)*[a-zA-Z0-9]+/.[a-zA-Z]{2,3}$/;
if(!())
{
alert('Please enter a valid E_mail for prompt /n/n!');
();
return false;
}
}
// Since the method is the same, only relevant regular expressions are written
//Verify mobile phone number (two methods are provided)
var mobile=/^((13[0-9]{1})|159|153)+/d{8}$/;
var mobile1=/^(13+/d{9})|(159+/d{8})|(153+/d{8})$/;
//Verification of area code
var phoneAreaNum = /^/d{3,4}$/;
//Verification of phone number
var phone =/^/d{7,8}$/;
}