js正则
function isIE11(){
if((/Trident\/7\./).test(navigator.userAgent)){
return true;
}else{
return false;
}
}
if (/^[^\|"'<>]*$/.test(form.elements[i].value))
if (/^\d+$/.test(date)) {
if (/^\d{4}$/.test(rg)) {
range = [rg + '-01-01', rg + '-12-31'];
}