Given the Input of:

<H1>whatever.....
<H2>whatever.....
<H3>whatever.....
<H4>whatever.....
<p>whatever.....
<H2>whatever.....
<H3>whatever.....
<H4>whatever.....
<p>whatever.....
<H3>whatever.....
<H4>whatever.....
<p>whatever.....
<H3>whatever.....
<H4>whatever.....
<p>whatever.....
<H4>whatever.....
<p>whatever.....
<p>

How can I read in the records bases on 'blocks starting with <H,, that is
grouped as follows:

Record1:
<H1>whatever.....
<H2>whatever.....
<H3>whatever.....
<H4>whatever.....
<p>whatever.....

Record2:
<H2>whatever.....
<H3>whatever.....
<H4>whatever.....
<p>whatever.....

Record3:
<H3>whatever.....
<H4>whatever.....
<p>whatever.....

Record 4:
<H3>whatever.....
<H4>whatever.....
<p>whatever.....

Record 5:
<H4>whatever.....
<p>whatever.....
<p>

Setting $/ to something? Use the Split function? having tried variations of
these and/or postive and negative lookahead's have left me obviously missing
something? Any ideas?

Thanks - kf


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to