Here's a simple example of doing it manually. With a few snips here and there you should be able to figure out how to do it programmatically.
<%
const ForReading=1
const ForWriting=2
'***Replace "YourTextFile.txt" with the name of your file***
strTextFile=server.MapPath("YourTextFile.txt"

set fso = server.CreateObject("Scripting.FileSystemObject"

%>
<form action="<%=request.ServerVariables("SCRIPT_NAME"

%>" method="post" name="form1">
<textarea name="txtContent" rows="10" cols="70" wrap="physical">
<%
if len(request.Form("btnUpdate"

) then
NewText = request.Form("txtContent"

arrLines = split(NewText,vbcrlf)
set tStream=fs

penTextFile(strTextFile,ForWriting)
For x = 0 to UBound(arrLines)
ThisLine = arrLines(x)
if len(ThisLine) > 4 then
tStream.WriteLine mid(ThisLine,6)
end if
Next
tStream.close
End if
set tStream = fso.openTextFile(strTextFile,ForReading)
Do while not tStream.AtEndOfStream
LineNum=tStream.Line
strLine=Right("00" & cstr(LineNum),3)
strText = tStream.Readline
response.Write(strLine & ": " & strText & vbcrlf)
loop
tStream.Close
%>
</textarea>
<%
if len(request.Form("btnUpdate"

) then
NewText = request.Form("txtContent"

arrLines = split(NewText,vbcrlf)
set tStream=fs

penTextFile(strTextFile,ForWriting)
For x = 0 to UBound(arrLines)
ThisLine = arrLines(x)
if len(ThisLine) > 4 then
tStream.WriteLine mid(ThisLine,6)
end if
Next
tStream.close
End if
%>
<p><input type="submit" name="btnUpdate" value="Update" ></p>
</form>
<%
set fso=nothing
%>