Expresión regular en lenguaje simple para eliminar texto
.Texto temporal variable local, tipo de texto
. Posición temporal de la variable local, entero
Posición temporal = buscar texto("lt;ligt;lt;a class="headimg" href="#.php?uid=2519725880" target="_blank"gt; lt;img src="/5630323914/ 0" width="50" alt="Nombre" /gt;lt;/agt;lt;div class="tBoxInfo"gt;lt;pgt;lt;img class="female " src="images/ranstparent.gif" /gt;lt; a href="#.php?uid=2519725880" target="_blank"gt;Manelt;/agt;lt;/pgt;lt;pgt;lt; span class="c_txtspe"gt;284 goldlt;/spangt;lt;/pgt;", "uid=", , false)
.
Si es verdadero (posición temporal = -1)
retorno ("")
.Si es verdadero final
Texto temporal = tomar texto a la derecha ("lt; ligt ;lt;a class="headimg" href="#.php?uid=2519725880" target="_blank"gt;lt;img src="/5630323914/0") width="50" alt="Nombre" / gt;lt;/agt;lt;div class="tBoxInfo"gt;lt;pgt;lt;img class="female" src="images/ransparent.gif" /gt;lt;a href="#. php ?uid=2519725880" target="_blank"gt;Manelt;/agt;lt;/pgt;lt;pgt;lt;span class="c_txtspe"gt;284 goldlt;/spangt;lt;/pgt;", " uid=", , toma la longitud del texto ("lt; ligt; lt; a class="headimg" href="#.php?uid=2519725880" target="_blank"gt; lt; img src="/5630323914/ 0" ancho="50" alt="nombre" /gt;lt;/agt;lt;div class="tBoxInfo"gt;lt;pgt;lt;img class="female" src="images/transparent.gif "/gt;lt;a href=" #.php?uid=2519725880" target="_blank"gt;Manelt;/agt;lt;/pgt;lt;pgt;lt;span class="c_txtspe"gt;284 goldlt;/spangt;lt;/pgt;" , "uid=", ) - Posición temporal - Obtener longitud del texto ("uid=") 1)
Posición temporal = buscar texto (texto temporal, " " target="_", , falso)
. Si es verdadero (posición temporal = -1)
Retorno ("")
. Si es verdadero, final
Texto temporal = buscar el lado izquierdo del texto (texto temporal , posición temporal - 1)
Devoluciones (texto temporal)
Este elemento obtiene el ID y usted mismo puede modificar el código fuente
para el resto.