<a title="C++程序设计基础(一)" class="cur" id="videoindex1" href="/play_400003718_38117.shtml">1</a>这一段HTML代码,我将它存在一个txt文档中,我想截取38117这个数字,请问该如何做?