/**
* 定义验证各种格式类型的正则表达式对象
*/
var Regexs = {
email: (/^[0-9a-z][0-9a-z\-\_\.]+@([0-9a-z][0-9a-z\-]*\.)+[a-z]{2,}$/i),
phone: (/^0[0-9]{2,3}[2-9][0-9]{6,7}$/),
ydphpne: (/^((13[4-9])|(15[012789])|147|188)[0-9]{8}$/),
allphpne: (/^((13[0-9])|(15[0-9])|(18[0-9]))[0-9]{8}$/),
ltphpne: (/^((13[0-2])|(15[56]))[0-9]{8}$/),
url: (/^http:\/\/([0-9a-z][0-9a-z\-]*\.)+[a-z]{2,}(:\d+)?\/[0-9a-z%\-_\/\.]+/i),
num: (/[^0-9]/g),
cnum: (/[^0-9a-zA-Z_]/g),
photo: (/\.jpg$|\.jpeg$|\.gif$/i),
row: (/\n/ig)
};
* 定义验证各种格式类型的正则表达式对象
*/
var Regexs = {
email: (/^[0-9a-z][0-9a-z\-\_\.]+@([0-9a-z][0-9a-z\-]*\.)+[a-z]{2,}$/i),
phone: (/^0[0-9]{2,3}[2-9][0-9]{6,7}$/),
ydphpne: (/^((13[4-9])|(15[012789])|147|188)[0-9]{8}$/),
allphpne: (/^((13[0-9])|(15[0-9])|(18[0-9]))[0-9]{8}$/),
ltphpne: (/^((13[0-2])|(15[56]))[0-9]{8}$/),
url: (/^http:\/\/([0-9a-z][0-9a-z\-]*\.)+[a-z]{2,}(:\d+)?\/[0-9a-z%\-_\/\.]+/i),
num: (/[^0-9]/g),
cnum: (/[^0-9a-zA-Z_]/g),
photo: (/\.jpg$|\.jpeg$|\.gif$/i),
row: (/\n/ig)
};