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--------------------------------------- HelloGwcTI\\ABCXYZIntVal ---------Expected Output------------------------- HelloGwc\\HelloIntVal ---------------------------------------------------------- Thanks in Adcance Saju
_________________________________________________________________
Tired of slow downloads and busy signals? Get a high-speed Internet connection! Comparison-shop your local high-speed providers here. https://broadband.msn.com
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>