in reply to Re^8: Clear the contents of the text file
in thread Clear the contents of the text file

Do you mean the validate records ?

Since you said in an earlier post This file is updated manually I thought you might like to do some validation on the values and assumed that server names would have some structure that you could check i.e. only [A-Za-z0-9_] characters perhaps ?

I used /.+/ as a placeholder for your own regex.

poj