<meta>正则
摘要:复制代码代码如下:varcharResult=this.getAttribute("responseText").match(/
复制代码 代码如下:
varcharResult=this.getAttribute("responseText").match(/<meta.*?Wcharsets*=s*(S+?)["'>s]/i);
charResult=charResult?charResult[1]:"gb2312";
【<meta>正则】相关文章:
★ 正则表达式:过滤<font>和</font>