mercredi 3 décembre 2014

Need regex to extrude class values


Vote count:

0




I have this kind of code



<div class="test"><a href="../toto"><i class="test toto">toto</i></a></div>
<div class="test"><a href="../titi"><i class="test titi">titi</i></a></div>
<div class="test"><a href="../tutu"><i class="test tutu">tutu</i></a></div>


Note that the content of the classes is unknown but i want to have at the end an array which contain in this case :



["test toto", "test titi", "test tutu"]


asked 2 mins ago

Lolo

54






Need regex to extrude class values

Aucun commentaire:

Enregistrer un commentaire