Saju Palayur wrote:
> Hi
>
> I am trying to do some thing like this, but am getting the wrong output.
> Can somebody tell if my regular expression is wrong or not?
>
> -Perl script---
> $line = "ABCXYZGwcTI\\ABCXYZIntValTI";
>
> $line=~s/ABCXYZ(.*)TI/
Saju Palayur wrote:
> Hi
>
> I am trying to do some thing like this, but am getting the wrong
> output. Can somebody tell if my regular expression is wrong or not?
>
> -Perl script---
> $line = "ABCXYZGwcTI\\ABCXYZIntValTI";
>
> $line=~s/ABCXYZ(.*)TI/H
Hi
I am trying to do some thing like this, but am getting the wrong output. Can
somebody tell if my regular expression is wrong or not?
-Perl script---
$line = "ABCXYZGwcTI\\ABCXYZIntValTI";
$line=~s/ABCXYZ(.*)TI/Hello$1/g;
print $line;
-Output