There are discussions of various different approaches to some similar problems on the long and winding threads starting at Interpolating backreferences in an eval and by way of Re: Interpolating backreferences in an eval.
In reply to Re: Replace placeholders in text in an elegant manner
by AnomalousMonk
in thread Replace placeholders in text in an elegant manner
by explodec14
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |