!DOCTYPE HTML>
<html>
<head>
<meta charset="gb2312">
<title>已登录_积分换礼</title>
<meta name="Keywords" content="">
<meta name="Description" content="">
<link href="/css/base.css?v=20120621" rel="stylesheet" type="text/css" />
<link href="/css/jifen2012.css?v=20120618" rel="stylesheet" type="text/css" />
<link href="/css/jf_user.css?v=20120615" rel="stylesheet" type="text/css" />
<link href="/css/jf_gift.css?v=20120518" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/base.min.js"></script>
</head>
<body>
<!-- top -->
<script src="/js/jquery.cookie.js"></script>
<div class="topTips redStyle" id="redStyle">
<div class="row990">
<div class="closeTip" onclick="jQuery('#redStyle').fadeOut();jQuery.cookie('need_not_tie_phone_3380541',1,{path:'/',expires:3})">关闭</div>
<span> </span>危险!您的帐号尚未绑定手机号码!为了防止您的帐号和积分被盗,请立即绑定手机号码!首次绑定赠送200积分!<a href="http://jifen.2345.com/wo/zhanghao.php?act=bind_phone" target="_blank">点击马上绑定>></a>
</div>
</div>
<div class="top">
<div class="top_in">
<script src="/js/ZeroClipboard.js"></script>
<script type="text/javascript">
function $_(id){
return document.getElementById(id);
}
function copy_the_text(textid,buttonid,text,inner){
clip = new ZeroClipboard.Client();
clip.setHandCursor( true );
clip.addEventListener('complete', function(){
alert(text+"复制成功!");
});
if( $_(textid) && $_(buttonid) ){
if(inner){
clip.setText($_(textid).innerHTML);
}else{
clip.setText($_(textid).value);
}
clip.glue(buttonid);
}
}
</script>
<span class="infoAdm">
Hi,<b><a href="/wo/" target="_blank" style="color:#085FB5;">cook888</a></b><i>|</i>总积分:<b><a href="/wo/jifen.php" target="_blank">4658</a></b><i>|</i><a href="/wo/xiaoxi.php" class="message" target="_blank">消息</a>
<i>|</i><a href="/wo/lipin.php" class="gift" target="_blank">我的礼品<span></span></a>
<i>|</i><a href="http://jifen.2345.com/login_for_index.php?action=logout&forward=http://jifen.2345.com/">退出</a>
</span>
<span class="ulink">
<input class="iptLink" type="text" name="url" id="url" value="http://www.2345.com/?k1785098">
<input class="btnLink" type="button" id="copy_text" value="复制专属推广链接">
</span>
<script>
$(document).ready(function(){
copy_the_text('url','copy_text','推广链接');
});
/////////////////////////////////////////////////////////////////////////////////////////
请问怎么把 总积分:4658 提取出来啊,看起来简单实现不了啊?哪位大牛指点我下,搞了一天没头绪,多谢了!
直接告诉我怎么从获取网页获取更好,我以为保存为文本文件好搞些,一样头大啊!
!
多谢大家了。我一行一行的读出然后find查找了,虽然麻烦,但我不会没有办法!正则表达式不会用,IHTMLDOCMENT2 接口也不会,就这样吧,多谢大家了!
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!