>I'm saying it could be bgcolor="COLOR" or bgcolor=COLOR 

Yes I realize. I believe drieux's solution, or an adaptation of it, is what
you need

----------------------------------------
I would of course go with say:

        #------------------------
        #
        sub un_colour {
                my ($line) = @_;
        
                $line =~ s/\s*bgcolor=("?)([^">\s]+)("?)//gi ;

                $line;
     } # end of un_colour


since the middle element needs to guard against

        a. "
        b. >
        c. white space

ciao
drieux

-----------------------


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

Reply via email to