网站首页
高清电影
无损音乐
游戏攻略
电脑教程
破解资源
站长资源
软件下载
<meta>正则
(编辑:jimmy 日期: 2024/9/23 浏览:
2
)
复制代码
代码如下:
var charResult = this.getAttribute("responseText").match(/<meta.*?\Wcharset\s*=\s*(\S+?)["'>\s]/i);
charResult = charResult ? charResult[1] : "gb2312";
上一篇:
正则表达式中使用变量赋值
下一篇:
限制文本框中只能输入实数或整数,其它字符无效,有劳大家了!
首页
音乐
电影
资源