https://www.jianshu.com/p/351790bd2238
$str='[caption id="attachment_10" align="alignnone" width="500"]<img class="wp-image-10 size-full" src="http://customfw.com/wp-content/uploads/2020/01/Abby-Mallard-T-shirt1.jpg" alt="person with collar shirt. " width="500" height="472" /> "person with collar shirt. "[/caption],[caption id="attachment_10" align="alignnone" width="500"]<img class="wp-image-10 size-full" src="http://customfw.com/wp-content/uploads/2020/01/Abby-Mallard-T-shirt2.jpg" alt="young girl wearing a white shirt. " width="500" height="