in reply to
need helpo regarding regular expression
I can not see a problem, your string matches the $oldstring pattern, at least as is in the example.
Comment on
Re: need helpo regarding regular expression
In Section
Seekers of Perl Wisdom