> 
> I'm making something, and need to block out BGCOLOR 
> attribute. The problem 
> is, the BGCOLOR could be with or without quotation marks. 
> This is the code I 
> used:
> 
> $article =~ s/ bgcolor=("?)(.*?)("?)//gi
> 

so you are saying it could be bgcolor or "bgcolor" ?
how about something simple like:
$article =~ s/bgcolor|\"bgcolor\"//gi;


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to