I have a text file that has multiple lines in it.
This is line 1
This is line 2
This is line 3
After prompted, a user enters "This is line 2" I want that line to be removed from the file.
However, the lines won't always be in the same place.
Example: (it could be like this)
This is line 3
This is line 1
This is line 2
Help?