in reply to Extracting text after a keyword
Putting aside the mail reading bits, the regex for that would be: /START(.{140)/)/ with modifiers to fit your data format (which could have used a tighter description here). If you have several keywords, you might be better served by Parse::RecDescent.
Update: Having seen your data now, you might be better off splitting on whitespace. You may also be able to exploit the structure of five-character groups. The data you show doesn't seem to fit the description in the root node, am I missing something?
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Extracting text after a keyword
by Anonymous Monk on Jul 02, 2002 at 09:16 UTC |