I am trying to scan a text, but I do not understand how it works, could anybody help me??
<a class="lightbox" title ="elecciones mexico 2012" href="http://www.myWebpage.com/wp-content/uploads/2012/07/elecciones-mexico-2012.jpg"><img src="http://www.myWebpage.com/wp-content/uploads/2012/07/elecciones-mexico-2012.jpg" alt="" title="elecciones mexico 2012" width="643" height="391" class="aligncenter size-full wp-image-66795" /></a></p>
<p>I need this text</p>
<p> And this text.</p>
<p> Also this text! </p>
<p> I dont want this text </p>]]>
So that my final string would be something like: I need this text And this text Also this text!
Thanks in advance