Would it be reasonable to assume that Martel start and end tags start at a new line and don't contain embedded linefeeds? It would simplify the coding and its not the best use of time to do a lot of fancy footwork for a rarely used scenario. Cayte