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

Alejandra Carrillo alejandrav@spin.com.mx
Thu, 19 Oct 2000 11:37:57 -0500



   Intente esto:

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

   Pero quita todo, ¿hay manera de decirle que vea la
   primera ocurrencia de ">" y no la última?

   Ciao,
   Alejandra.

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