Wouldn't splitting up the string at [[ be enough?
my @paragraphs = split /\[\[/, $input;
Also see Text::WikiFormat.
In reply to Re: Extract content from a string
by Corion
in thread Extract content from a string
by ultranerds
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |