Generally where you are matching up to some expected character a negated character set is better than .*?. In this case ([^\[]*) would be appropriate.
In reply to Re^2: Can't quite get this regex working
by GrandFather
in thread Can't quite get this regex working
by ultranerds
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |