I think &Text::Balanced::extract_multiple does what you want.
After Compline,Zaxo
In reply to Re: Peeling the Peelings by Zaxo in thread Peeling the Peelings by PetaMem