in reply to Replacing parts of a string
If you always have numeric followed by alphabetic in that field how about:
s/(CalandarName=)\d+\w+(&)/$1$ReplacementString$2/
cheers,
Josh
UPDATE: Fixed formatting
s/(CalandarName=)\d+\w+(&)/$1$ReplacementString$2/
cheers,
Josh
UPDATE: Fixed formatting
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Replacing parts of a string
by diotalevi (Canon) on Apr 11, 2003 at 14:23 UTC |
In Section
Seekers of Perl Wisdom