'i think this can work better 'can u improve this line so it can skip line ? 'I mean clean line by line a regex with ascii can do better with true or false Public Function RemoveJunk(ByVal Readlinevalue As String) As String For Each ch As Char In Readlinevalue If Asc(ch) < 31 Or Asc(ch) > 128 Then Readlinevalue = Readlinevalue.Replace(ch, String.Empty) End If Next ch Return Readlinevalue End Function