in reply to extract content for nested pattern in a file
Please consider How to ask better questions using Test::More and sample data to help you test your code and get better help from the Monastery.
Neil Watson watson-wilson.ca