What you sent I took and it worked great, I have a slit modification I need, and I am not sure how to get it working. When I have a line ending in a ) I want to through it out unless in the same string you find .dat, if so then I want to keep the (from exp below) 58bn5904 and also keep the 859216 bytes. DATA: e:\logfiles\beardstownbase.log [3] Thu 22Jun06 08:07:20 - (006415) Sent file d:\data\58bn5904.sta successfully (1.05 Kb/sec - 61 bytes) e:\logfiles\beardstownbase.log [3] Thu 22Jun06 08:07:20 - (006415) Sending file d:\data\58bn5904.sta e:\logfiles\beardstownbase.log [3] Thu 22Jun06 08:07:19 - (006415) Sent file d:\data\58bn5904.dat successfully (25.0 Kb/sec - 859216 bytes) e:\logfiles\beardstownbase.log [3] Thu 22Jun06 08:06:46 - (006415) Sending file d:\data\58bn5904.dat Output Looking for: Skip: e:\logfiles\beardstownbase.log [3] Thu 22Jun06 08:07:20 - (006415) Sent file d:\data\58bn5904.sta successfully (1.05 Kb/sec - 61 bytes) Skip: e:\logfiles\beardstownbase.log [3] Thu 22Jun06 08:07:20 - (006415) Sending file d:\data\58bn5904.sta Extract beardstownbase, Thu 22Jun06 08:07:19, 58bn5904, 859216 bytes e:\logfiles\beardstownbase.log [3] Thu 22Jun06 08:07:19 - (006415) Sent file d:\data\58bn5904.dat successfully (25.0 Kb/sec - 859216 bytes) Skip: e:\logfiles\beardstownbase.log [3] Thu 22Jun06 08:06:46 - (006415) Sending file d:\data\58bn5904.dat