You simply miss a g modifier on your regexp.
Without in @finds, only the first match is inside, withit all matches will be in.
Then you can just print $finds[1] and you will get what you want.
Greetings,
Janek Schleicher
Comment on Re: Extracting a chapter from text file