in reply to Re: Re: More Regular Expressions (text data handling)
in thread More Regular Expressions (text data handling)
As I see it, you require the use of forward lookaheads in a regex:
Since the line before Number contains the name and the persons details are terminated again by name,
something that grabs the name and the text between two instances of the name can be got.
You could then make a hash of names with the value being a hash of details, does that sound good?
--
Brother Frankus.
¤
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: More Regular Expressions (text data handling)
by graq (Curate) on Dec 04, 2001 at 20:51 UTC |