正则表达式
手机号码:/^(13|14|15|17|18)[0-9]{9}$/ 电话号码:/(^\(\d{3,5}\)\d{6,8}(-\d{2,8})?$)|(^\d+-\d+$)|(^(13|15|18)[0-9]{9}$)/ 座机号码:/^(([0\+]\d{2,3}-)?(0\d{2,3})-)(\d{7,8})(-(\d{3,}))?$/ 6位数字:/(^\d{6}$)/ url:/^(http|https|ftp):\/\/(\w+\.)+[a-z]{2,3}(\/\w+)*(\/\w+\.\w+)*(\?\w+=\w*(&\w+=\w*)*)*/ 字母或数字:/^[A-Za-z0-9]+$/ 数字:/^[0-9]*$/ 浮点数:/^\d+(\.\d+)?$/ 货币格式:/^[+-]?\d+(,\d{3})*(\.\d+)?$/ 邮件格式:/^([a-zA-Z0-9]+[_|\-|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\-|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/ 日期格式:/^(\d{1,4})(-|\/)(\d{1,2})\2(\d{1,2})$/ 身份证号码: