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'];
}
标签:function,01,return,js,正则,rg,test,12 来源: https://www.cnblogs.com/csjoz/p/15217134.html