in reply to Match a pattern only if it is not within another pattern

Update: You clarified which foo's you wanted replaced while I was typing my response; Then BrowserUK responded before I finished my testing/posting. His is most impressive.

Ivan Heffner
Sr. Software Engineer, DAS Lead
WhitePages.com, Inc.
  • Comment on Re: Match a pattern only if it is not within another pattern