AM might want to consider extract_tagged() in Text::Balanced if s/he needs to cope with recursive NP tags.
Of course - they could always go the whole hog and write a proper parser with Parse::RecDescent... or wait for perl6 rules to arrive :-)
In reply to Re^2: How do I extract a text between some delimiters
by adrianh
in thread How do I extract a text between some delimiters
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |