我有一个如下字符串:
<nonpublicExecutionReport>
<trade>
</trade>
<party id="a">
<partyId>b</partyId>
<partyId>c</partyId>
</party>
<party id="d">
<partyId>e</partyId>
<partyId>f</partyId>
<classification>g</classification>
<country>h</country>
<organizationType>i</organizationType>
</party>
获取所有派对标签的正则表达式是什么,因此输出将跟随两个字符串:
1) <party id="a">
<partyId>b</partyId>
<partyId>c</partyId>
</party>
2) <party id="d">
<partyId>e</partyId>
<partyId>f</partyId>
<classification>g</classification>
<country>h</country>
<organizationType>i</organizationType>
</party>