Re: replacing text in a file

2002-10-09 Thread Anthony E.
my $line = 'UPDATED="06/18/2002 18:42:25"'; $line =~ s/"(.*?)"/"NOT APPLICABLE"/sig; try this. --- "Egleton, Gary" <[EMAIL PROTECTED]> wrote: > Hi, > > can you help a begnner with this?? > > I have a file with the following repeated several > times. The date and time > will vary. > > UPDATED

Re: replacing text in a file

2002-10-09 Thread Roberto Ruiz
Hello Gary, God bless you. On Wed, Oct 09, 2002 at 04:19:42PM +0100, Egleton, Gary wrote: > > I have a file with the following repeated several times. The date and time > will vary. > > UPDATED="06/18/2002 18:42:25" > > I wnat to replace what ver text is between the quotes with NOT APPLICABLE

replacing text in a file

2002-10-09 Thread Egleton, Gary
Hi, can you help a begnner with this?? I have a file with the following repeated several times. The date and time will vary. UPDATED="06/18/2002 18:42:25" I wnat to replace what ver text is between the quotes with NOT APPLICABLE ie UPDATED="NOT APPLICABLE" Regards, Gary ---