摘要:
//检验字符串中是否包含1900-2050的日期子字符串 var dateReg_null_ymd=new RegExp("(([2-9][0-9]|1[6-9])?[0-9]{2}([-\/\.])?((1[0-2]|0?[1-9])([-\/\.])?(2[0-8]|1[0-9]|0?[1-9])|(1[0-2]|0?[13-9])([-\/\.])?(29|30)|(1[02]|0?[13578])([-\/\.])?(31))|((1[6-9]|[2-9][0-9])?(0[48]|[2468][048]|[13579][26])|(16|[2468][048]|[3579] 阅读全文
摘要:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><!--eg.--><script type=”text/javascript” src=”test.js” charset=”utf-8″></script><script type=”text/javascript” src=”test1.js” charset=”gb2312″></script> 阅读全文