How to remove a line from a txt file using Javascript?

Hi,

I have a list of numbers such as
1
2
3
0
4

one below the other in a txt file. However, I want to remove or delete the line that contains 0, so that the resulting file would be

1
2
3
4

Can you tell me how to do that?

This entry was posted in Uncategorized and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>