Andy Lester wrote: >> Is there a way to tell a regex to only search & replace between a >> certain match? Is there a name for this function that I may read about? > > > Yes, look for the "flip-flop" operator, where it's roughly > > if ( /regex1/../regex2/ ) { > # do something > } > > It's taken directly from Awk. > > xao > Thanks, that's perfect Jay