You could try tokenizing the string first with a string split.... usually helps me out when I have complicated regular expressions like this. Not sure what language you are using, but most I've encountered have a string split function that uses regular expressions or simple string matching. On May 2, 2007, at 3:16 PM, Tab Alleman wrote: > Been trying to figure this out, but I haven't found a way to do > what I want in any of the tutorials out there. > > Say I've got a string like this: > > any combination of characters + "START" + any combination of > characters except START + "START" + any combination of characters > except START + "END" + any combination... > > > > I want to create a regex that will grab the chunk of the string > between the SECOND "START" and the next "END". The pattern I > created grabs from the FIRST "START" to the first "END": > > START.*?END > > > > -- > > * * Please support the community that supports you. * * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt !