On Fri, 20 Sep 2002 10:02:18 +0300 "Igor Kutsyy" <[EMAIL PROTECTED]> wrote:
> My script analizes .html text were a lot of tags. I need to delete tag: <font > ...>. The problem is that it writen in mixed ways:<FONT FACE="Times New > Roman, Times" SIZE=2>("äÅÎØ" 18.09.02)</P></B></FONT><I><FONT SIZE=2> > </I></FONT><FONT face="Times New Roman, Times" SIZE=2><P>***ðáòô ; ì > äåòÉ</P></FONT><B><FONT size=2> > <P>##</FONT><FONT FACE="Times New Roman, Times" SIZE=2> > > if I execute a command: $string=~ s/<FONT FACE="Times New Roman, Times" > SIZE=2>//ig; it does not delete tags like this: <FONT face="Times New Roman, > Times" SIZE=2> because in it different words in Upper and Lowercase. So what > can you advise me: > how to specify a patern to delete tag, written in Upper/Lower/Mixed way. > How to specify a patern to delete all font tags <FONT ....> and </FONT>. > You should really use one of the HTML::* modules for this but... s/<\/?font.*?>//gi; -- print`$^Xdoc -qj`=~/"(.*)"/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]