<?xml version="1.0" encoding="windows-1252"?>
<node id="1016346" title="regex on previous lines" created="2013-01-31 11:01:26" updated="2013-01-31 11:01:26">
<type id="115">
perlquestion</type>
<author id="992708">
MacScissor</author>
<data>
<field name="doctext">
Hello Monks!

I have 3 lines of strings:
&lt;code&gt;
xxxxx
yyyyy
zzzzz
&lt;/code&gt;
Now, I want to do a Regex on the last line (zzzzz). When successful, I want to do a Regex on the middle line (yyyyy). If this is successful too, I want to do a Regex on the top line (xxxxx). Can anyone tell me how to do that?


Thank you in advance!</field>
</data>
</node>
