页面导航: 首页网络编程正则表达式 → 正文内容

<meta>正则

发布:dxy 字体:[增加 减小] 类型:转载

var charResult = this.getAttribute("responseText").match(/<meta.*?\Wcharset\s*=\s*(\S+?)["'>\s]/i);
charResult = charResult ? charResult[1] : "gb2312";
百度中搜索更多的关于&lt;meta&gt;正则内容,或者用Google搜索相关更多
浏览次数:载入中... 打印本文关闭本文返回首页

文章评论

共有 位脚本之家网友发表了评论我来说两句

同 类 文 章
最 近 更 新
热 点 排 行