Try this:
$_ =~ s/<font.*?</font>//gi; I can't test it, but in theory it should grab the shortest number of characters starting with <font and ending with </font> irregardless of case and replace them with nothing. -----Original Message----- From: Igor Kutsyy [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 12:02 AM To: [EMAIL PROTECTED] Subject: use of s/// 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>. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]