Welcome

首页 / 正则表达式 / <meta>正则

复制代码 代码如下:
var charResult = this.getAttribute("responseText").match(/<meta.*?Wcharsets*=s*(S+?)["">s]/i);
charResult = charResult ? charResult[1] : "gb2312";