Re: Extracting Multiple Lines

2002-02-21 Thread Jonathan E. Paton
> Also there are no delimiting characters to search. > And one more problem is that they rarely end the > sentence with a period. The only good news is that > there are never more than 4 lines. But because there > is almost always a newline, I can't use: > > while <> > > because it searches l

Extracting Multiple Lines

2002-02-21 Thread Marc Morrison
I have an online form that has a "Comments" field. I need to extract ALL of the information from the comments field. Each "Comments" line begins with Comment: so the /^Comments/ works to match that, however the user may, or may not enter a new line in their comments and they may or may not sta