[Tutor] how to print the match middle part out

lina lina.lastname at gmail.com
Thu Dec 15 17:52:46 CET 2011


Hi,

For following:

aaa
model 0
bbb
acb
model 1
ccc


How can I set regexp1 as "model 0" and end "model 1"

so the final print out will be:

model 0
bbb
acb

above is a very simple example,

Thanks for any advice,

Best,


More information about the Tutor mailing list