in reply to
Regular expression needed (maybe)
Something like this perhaps?
$line =~ s/BLAH=(\w+)/BLAH=\U$1/;
[download]
Modify
BLAH=
and
\w+
to your needs.
Comment on
Re: Regular expression needed (maybe)
Select
or
Download
Code
Replies are listed 'Best First'.
Re: Re: Regular expression needed (maybe)
by
anelson
(Acolyte)
on Jan 15, 2003 at 04:59 UTC
Perfect! Thanks
-a
[reply]
In Section
Seekers of Perl Wisdom