|
一段HTML代码如下
<div class="hd">你是不是想找:</div>
<div class="bd">
<ul class="nav clearfix">
<li><a trace="relatedSearch" href="/search?q=qq%BB%E1%D4%B1&rsclick=1">qq会员<span class="divide"></span></a></li>
<li><a trace="relatedSearch" href="/search?q=%B3%AC%BC%B6qq&rsclick=8">超级qq<span class="divide"></span></a></li>
<li><a trace="relatedSearch" href="/search?q=qq%C2%CC%D7%EA&rsclick=9">qq绿钻<span class="divide"></span></a></li>
<li><a trace="relatedSearch" href="/search?q=qq%BA%EC%D7%EA&rsclick=10">qq红钻<span class="divide"></span></a></li>
<li><a trace="relatedSearch" href="/search?q=qq%BF%D5%BC%E4&rsclick=11">qq空间<span class="divide"></span></a></li>
<li><a trace="relatedSearch" href="/search?q=qq%D2%B5%CE%F1&rsclick=12">qq业务<span class="divide"></span></a></li>
<li><a trace="relatedSearch" href="/search?q=qq%C5%A9%B3%A1&rsclick=13">qq农场<span class="divide"></span></a></li>
<li><a trace="relatedSearch" href="/search?q=qq%C3%DC%C2%EB&rsclick=14">qq密码<span class="divide"></span></a></li>
</ul>
</div>
我想匹配其中的 汉字内容,比如 qq会员,qq业务等,那么正则表达式应该怎么写呢
|
|