You might see if something like Text::WikiFormat does what you want. Or if not it might give you something similar from which to work.
In reply to Re: match *bold* formatting, but avoid html
by Fletch
in thread match *bold* formatting, but avoid html
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |