Do you have your output in a string already? Then do following:
s/:.*/:/g; s/\n\[/ [/g
In reply to Re: Regular expression help required
by grizzley
in thread Regular expression help required
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |