That should be a trivial task. Read the file into an array with the ReadFile() UDF and then just iterate through the array. From the example you give, the line before the first of two elements containing "----------------------------" ends with a "." and the line before the second element (but after the first, the one you want) ends with a ")".

Edited by Les (2004-12-21 05:26 PM)
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.