for example, the content is like this
<div>
<ul>
//
<li>aaaaa</div>
//
<li>bbbbb</li>
//
<li>cccccc</li>
//
<li>ddddd</li>
//
</ul>
</div>
The actual content of will be much more complicated than this.
what I hope to match is dddd
,
my regular expression (
,
match is
<li>aaaaa</li>
<li>bbbbb</li>
<li>cccccc</li>
<li>ddddd</li>
how do I match the last result directly with the rule? Or match to any one of the results?
I"m convinced, too. I"m just asking about regularities. Here comes java, js, and PHP. I just want a regularization.