Heh, blimey, thank you. So /g sometimes isn't needed - I have read about 'greedy' regex before but never encountered it.
Many thanks for your wisdom!
Nick
In reply to Re^2: Regex substitute matches second match first?
by Linicks
in thread Regex substitute matches second match first?
by Linicks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |