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.
¤
In reply to Re: Re: Re: More Regular Expressions (text data handling)
by frankus
in thread More Regular Expressions (text data handling)
by graq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |