21,886
社区成员
发帖
与我相关
我的任务
分享
<?php
$content=" <ReceiptId>111 </ReceiptId> <ReceiptId>222 </ReceiptId> <ReceiptId>333 </ReceiptId>"
preg_match_all("/ <ReceiptId.*?>(.*?) <\/ReceiptId>/",$content,$new);
echo "<pre>";
print_r($new);
echo "</pre>";
?>