Hi everyon, thanks for your help so far....
I am trying to substitute a path for another path.
I have html documents which refer to some images in the following directory:
C:\Documents and Settings\chrisz\Desktop\Web_notes\PFLogo.gif
I would like to change this so it reads:
.../PFLogo.gif
I have tried the following substitution:
$rplcthis = "C:\\Documents and Settings\\chrisz\\Desktop\\Web_notes";
$with = "..";
$line =~ s/$rplcthis/$with/g;
But it does not seem to work. Through testing, I think that it is the '\'
character that it does not like in the regex?
Any help would be really great,
Thanks,
Chris.
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- RE: substitution Nestor Dutko
- substitution McCollum, Frank
- RE: substitution Hanson, Robert
- RE: substitution Herb Martin
- Re: substitution John W. Krahn
- RE: substitution McCollum, Frank
- Re: substitution John W. Krahn
- Re: substitution Andrea Holstein
- substitution Raghupathy, Ramesh .
- Re: substitution Jeff 'japhy' Pinyan
- Re: substitution Chris Zampese
- Re: substitution Wiggins d'Anconia
- RE: substitution Timothy Johnson
- RE: substitution Timothy Johnson
- substitution Olivier Wirz
- RE: substitution Hanson, Rob
- RE: substitution David le Blanc
- Re: substitution James Edward Gray II
- RE: substitution Charles K. Clarkson
- Re: substitution R. Joseph Newton