摘要: Just make a note!var xmlHttpReq;function createXmlHttpRequest() { //创建XMLHttpRequest对象 if(window.XMLHttpRequest) { xmlHttpReq = new XMLHttpRequest(); if(xmlHttpReq.overrideMimeType) { xmlHttpReq.overrideMimeType('text/xml'); } } else if(window.ActiveXObject) ... 阅读全文
posted @ 2013-05-28 17:18 yejg1212 阅读(1375) 评论(0) 推荐(0) 编辑
摘要: 开贴在此记录正则表达式,不定期更新~~~一、匹配时间①匹配[yyyy-MM-dd]的正则表达式:String reg_yyyy_MM_dd = "(([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})" + "-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))" + "... 阅读全文
posted @ 2013-05-28 16:52 yejg1212 阅读(2173) 评论(0) 推荐(0) 编辑