Rumah > Soal Jawab > teks badan
<div class="inner-box-wrapper">
<div class="word-header">
<div class="w-and-c">
<span class="def-num">1</span>
<h1>a</h1>
<a class="play-pron" data-lang="cn" data-file="a0000001" data-dir="a" href="javascript:void(0)"
title="12323">play <span class="p-box"> </span></a>
</div>
</div>
</div>
需要截取这个值:a0000001 需要这段代码之后: <a data-lang="cn" data-file=" 这段代码之前的值:" data-dir="a" href="javascript:void(0)" title="12323">play <span> 注意: data-file=在代码中不唯一 <a data-lang="cn" data-file="a0000001" data-dir="a" href="javascript:void(0)" title="12323">play <span> </span></a> 这段代码在整体代码中也不唯一,可能出现1次,也可能出现5次.