Hi,
I have a series of <span> tags conatining the following content pattern:
<span id="_ctl0_ContentPlaceHolder1_lblDatos">
<span class="intenso">Titulo Original: </span>Entrevista a Ricardo Alarcón de Quesada<br>
<span class="intenso">Dirección: </span><a href="cineasta.aspx?cod=99">Daniel Díaz Torres</a><br>
<span class="intenso">País(es): </span>Cuba<br>
<span class="intenso">Idioma Original: </span>Español<br>
<span class="intenso">Formato: </span>VHS<br>
<span class="intenso">Categoría: </span>Documental<br>
<span class="intenso">Tipo: </span>Color<br>
<span class="intenso">Duración: </span>40 min.<br>
<span class="intenso">Año de producción: </span>2004<br>
</span>
I need to split the content of each of the nine subtags <span class="intenso"> in a different column, based on the following conditions.
a) The string between <span class="intenso"> and </span> ("Dirección: " in the first instance) must be deleted. So, the only string to transfer to the corresponding columns is that between </span> and <br>. That is: "Entrevista a Ricardo Alarcón de Quesada" for the first instance.
b) The second instance
<span class="intenso">Dirección: </span><a href="cineasta.aspx?cod=99">Daniel Díaz Torres</a><br>
should be splitted into two different columns; one for the href content (cineasta.aspx?cod=99) and another one for the string (Daniel Díaz Torres).
Any help?
Miquel Centelles