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

It doesn't work to my liking, and was hoping someone else had a better 
solution.

William

Reply via email to