Grouping
Posted: Tue Sep 22, 2009 10:26 am
Hello,
I have the following structure
R000<text>\n
R515<text>\n
R521<text>\n
R529<text>\n
n times R529's
R529<text>\n
R550<text>\n
R529<text>\n
n times R529's
R529<text>\n
I would like to capture the R000 R515 and the R529's after R521 into group G1 and the R550 and the R529 below R550 in G2.
How is it possible to do it with regex?
Regards,
I have the following structure
R000<text>\n
R515<text>\n
R521<text>\n
R529<text>\n
n times R529's
R529<text>\n
R550<text>\n
R529<text>\n
n times R529's
R529<text>\n
I would like to capture the R000 R515 and the R529's after R521 into group G1 and the R550 and the R529 below R550 in G2.
How is it possible to do it with regex?
Regards,