Hello all,
I need a function to delete a line a line in a text file. I have this in my textfile:
text1 fdjkjflskdjf 0
text2 948yrxd74yrn 0
*text3 437nfy4837nf 0
text4 uhdwiueh92d9 0
I need to delete the entire line that begins with *text3. The numbers after *text3 are randomly generated(they are encrypted passwords), so i to delete the line based on "*text3" alone. How do i do that? My final file should look like this:
text1 fdjkjflskdjf 0
text2 948yrxd74yrn 0
text4 uhdwiueh92d9 0
I need a function to delete a line a line in a text file. I have this in my textfile:
text1 fdjkjflskdjf 0
text2 948yrxd74yrn 0
*text3 437nfy4837nf 0
text4 uhdwiueh92d9 0
I need to delete the entire line that begins with *text3. The numbers after *text3 are randomly generated(they are encrypted passwords), so i to delete the line based on "*text3" alone. How do i do that? My final file should look like this:
text1 fdjkjflskdjf 0
text2 948yrxd74yrn 0
text4 uhdwiueh92d9 0