> if messageChunk(someText, "(?.)<BODY>(.+)</BODY>", tStart, tEnd) then > -- do something with the text here > end if ...and, of course, that should be (?s) instead of (?.) -- -Mark Wieder mwieder at ahsoftware.net