It would also help to see what you want the output to be, because your verbal description isn't very exact (at least not to me).
In reply to Re: Regex for matching and appending
by moritz
in thread Regex for matching and appending
by joec_
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |