$line =~ s/<([^=]+)=([^>]+)>/<$1=\U$2>/g;
Both solutions provided thus far are still vulnerable to spurient '<' or '>' characters appearing outside of the tag construct in your string.
Matt
In reply to Re: Regular expression needed (maybe)
by mojotoad
in thread Regular expression needed (maybe)
by anelson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |