Given the following text, what PCRE regular expression would you use to extract the parts marked in bold?
00:20314 lorem ipsum
want this
kryptonite
00:02314 quux
padding
dont want this
00:03124 foo
neither this
00:01324 foo
but we want this
stalagmite
00:02134 tralala
not this
00:03124 bar foo
and we want this
kryptonite but not this(!)
00:02134 foo bar
and not this either
00:01234 dolor sit amet
EOF
IOW, we want to extract sections that start, in regex terms, with "^0" and end with "(kryptonite|stalagmite)".
Been chomping on this for a bit, finding it a hard nut to crack. TIA!