in reply to
Possible with a regex?
Some basic loop-unrolling: (untested)
m{\[img]([^[]*(?:\[(?!img])[^[]*)*)\[/img]}g
[download]
Comment on
Re: Possible with a regex?
Download
Code
In Section
Seekers of Perl Wisdom