!-- Writed by Zhong@IECN 2004.3.26 --
script language="javascript"
var reIp = /^([01]?\d{1,2}|2[0-4]\d|25[0-5])(\.([01]?\d{1,2}|2[0-4]\d|25[0-5])){3}$/; //IP
var reEml = /^[\w\-\.]+@[a-z0-9]+(\-[a-z0-9]+)?(\.[a-z0-9]+(\-[a-z0-9]+)?)*\.[a-z]{2,4}$/i; //E-mail
var reTel = /^((\d{2,3}\-)?\d{2,5}\-)?[2-9]\d{6,7}(\-\d{2,5})?$/; //电话号
var reMbl = /^13[0135-9]\d{8}$/; //手机号
var reHttp = /^http\:\/\/[a-z0-9]+(\-[a-z0-9]+)?(\.[a-z0-9]+(\-[a-z0-9]+)?)*\.[a-z]{2,4}(\/?|\/.+)$/i; //Http地址
var reNum = /^\-?\d+(\.\...[ 查看全文 ]