mercredi 2 mai 2018

parsing html to get only specific tags

i need to parse this html code to get only the image src and thetext after the tag.

[caption id="attachment_16734" align="aligncenter" width="672"]<a href="http://myeduplus.it/wp-content/uploads/2017/12/consumatori.jpg"><img class="wp-image-16734 size-full" src="http://myeduplus.it/wp-content/uploads/2017/12/consumatori.jpg" alt="" width="672" height="480" /></a> La mucca: consumatore primario o erbivoro[/caption]




Aucun commentaire:

Enregistrer un commentaire