I've been trying parse a value in a block.
Let me explain with an example.
I have the following text :
started xx xxxxxxx xxxxx xxxxxx xx xxxxxxxxx xxxxxxx xxxx xx
xx xxx xxxxx xxxx xxxxxxxx xxxx xxxxxx found 9999 xxxxx xxxxx
xxx xx xxxx xxxx xxxxxxxxxxx xxxxxxx xxx stored 9999 finished
I'm trying to catch the value between "started" and "finished"
I tried something like this
(?<block>started(.|\n)*finished)
but I don't know how to add the value \d+
near "stored"?