On Wed, 2009-05-06 at 10:08 +1200, Brenda Wallace wrote: > I think you want a g on the end of the regex to make it greedy. I think you mean 'to make it global' ie: to perform the substitution for all matches rather than just the first one. 'Greedy' is a whole other ball-o-wax :-) Cheers Grant