[perl] =?iso-8859-1?Q?=BFC=F3mo_quitar_todos_los_tags_de__HTML_de_un_texto=3F?=

Jose Antonio Galicia jcgalici@cbbanorte.com.mx
Thu, 19 Oct 2000 12:14:39 -0500 (CDT)


On Thu, 19 Oct 2000, Alejandra Carrillo wrote:

>    $texto = "<a href=\"#x\">texto que debe quedar</a>";
>    $texto =~ s/<.*>//eg;

     $texto =~ s/<.*?>//eg;

 Con el "?" le dices al ".*" que limite su hambre.

 Saludos,
 Toņo.
---
 mailto: jcgalici@cbbanorte.com.mx

--------- Pie de mensaje --------------------------------
Visite: http://tlali.iztacala.unam.mx/~randrade/perl.shtml
Cancelar inscripcion:
mail to: majordomo@tlali.iztacala.unam.mx
text   : unsubscribe perl