in reply to Extract content from a string

ultranerds:

I see you already have a solution to your immediate problem. But since the text looks like one of the myriad variations of a Wiki markup language, have you considered looking on http://search.cpan.org for an appropriate parsing module?

...roboticus

When your only tool is a hammer, all problems look like your thumb.