can someone please help me in writing the regular expression for the following..
actually In fileVapth I have "Y:\default\main\safari\Airline\WORKAREA\Workarea01/html/jetnet/china.html";
But I need to change it to /default/main/safari/Airline/WORKAREA/Workarea01/html/jetnet/china.html ---All fwd slashes and stripoff y:
For this i tried to write the regex as following...But did not workout can u please help...
1.I tried to replace backwd slashes with fwd slashes using $fileVpath=~ s# \ # / #ig;
2.To strip off y:$fileVpath=~ s# ^y

.*) # $1 #i;
Following is the program...
#!c:/perl/bin
my $fileVpath="Y:\default\main\safari\Airline\WORKAREA\Workarea01/html/jetnet/china.html";
$$fileVpath~ s# \ # / #ig; #to replace backwd slashes with fwd slashes#
print "string3 is now $string3";
$string3=~ s# ^y

.*) # $1 #i; #To strip off y:the string3 values should be /default/main/safari/Airline/WORKAREA/Workarea01/html/jetnet/china.html#
print "string3 is now $string3";
Thanku,