This captures a greedy block of non-], following a ] and some space, until the end of the line:
/\]\s*([^\]]+)$/
In reply to Re: Is there a better way to write this RegEx?
by pbeckingham
in thread Is there a better way to write this RegEx?
by theAcolyte
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |