in reply to Regex question

Well, if you don't have to worry about nested parens, this seems to work for me:

/,(?![^()]*\))/

Ted Young

($$<<$$=>$$<=>$$<=$$>>$$) always returns 1. :-)

Replies are listed 'Best First'.
Re^2: Regex question
by AlanOlsen (Initiate) on Oct 20, 2005 at 18:10 UTC
    Works great! Thanks!