how uo use RegExKitLite matching HTML tags and extracting text ? ie:
<li color=red>
<span>1</span>
<span>2</span>
</li&g开发者_如何学运维t;
how to get content between <li> </li>
?
It's generally considered bad form to use regexp to parse HTML - have you considered using a XML/HTML parsing library? See here: RegEx match open tags except XHTML self-contained tags
精彩评论