易网时代-编程资源站
Welcome
首页
/
正则表达式
/
<meta>正则
复制代码
代码如下:
var charResult = this.getAttribute("responseText").match(/<meta.*?Wcharsets*=s*(S+?)["">s]/i);
charResult = charResult ? charResult[1] : "gb2312";
版权所有©石家庄振强科技有限公司2024
冀ICP备08103738号-5
网站地图