贴吧 po队伍正则

http://tieba.baidu.com/f/search/res?ie=utf-8&kw=&qw=Trait%3A%20Nature&un=&sm=1&rn=100&pn=1

 

(?<=>)[^<]+<br>Trait:.*?Nature[^<]{0,}<br>(?:-[^<]+<br>){1,4}

 

new Regex("(?<=>)[^<]+<br>Trait:.*?Nature[^<]{0,}<br>(?:-[^<]+<br>){1,4}", RegexOptions.IgnoreCase)

 

 

po

 

<a href="(threads/[^"]+) 

 

title:

(?<=<title>)[^<]+

获取队伍:

(?<=SpoilerTarget bbCodeSpoilerText">).*?(?=</div>)

 

你可能感兴趣的:(正则)