> also detect the beginning of the string.
> >
> > $file =~ s/((^|\n\n).+?)\n/$1 /g;
> >
> > Katy
> >
> > Timothy Johnson wrote:
> > >
> > >
> > > I think you'll need 2 blank lines.
> > >
> > > -Original M
ohnson wrote:
> >
> >
> > I think you'll need 2 blank lines.
> >
> > -Original Message-
> > From: Sunish Kapoor
> > To: Nigel Peck
> > Cc: [EMAIL PROTECTED]
> > Sent: 7/3/02 6:51 PM
> > Subject: Re: Regular Expression Help sough
nish Kapoor
> > To: Nigel Peck
> > Cc: [EMAIL PROTECTED]
> > Sent: 7/3/02 6:51 PM
> > Subject: Re: Regular Expression Help sought
> >
> > Dear Nigel,
> >
> > Thanks a ton for the script..It works fine though it skips the first
> > record
> &g
r
> To: Nigel Peck
> Cc: [EMAIL PROTECTED]
> Sent: 7/3/02 6:51 PM
> Subject: Re: Regular Expression Help sought
>
> Dear Nigel,
>
> Thanks a ton for the script..It works fine though it skips the first
> record
> even though I make
> the file begin with a blank
I think you'll need 2 blank lines.
-Original Message-
From: Sunish Kapoor
To: Nigel Peck
Cc: [EMAIL PROTECTED]
Sent: 7/3/02 6:51 PM
Subject: Re: Regular Expression Help sought
Dear Nigel,
Thanks a ton for the script..It works fine though it skips the first
record
even though I
Dear Nigel,
Thanks a ton for the script..It works fine though it skips the first record
even though I make
the file begin with a blank line by simply hitting enter !
Regards
Sunish
Nigel Peck wrote:
> My first attempt, which may be a bit simplified, would be to substitute
> any newline, which