E=mc2
asked on
Script to search through csv file and delete any lines of data starting with specific text
I would like to run a script which searches through a lengthy csv file and deletes any data starting with the following text "Application Started
The line of text might read for instance "Application Started 1/9/2020 9:38:36 AM"
So any line of text in the CSV which starts with the initial characters of the above text should be deleted.
The file should be resaved with that line of text eliminated.
Thanks in advance for your assistance.
The line of text might read for instance "Application Started 1/9/2020 9:38:36 AM"
So any line of text in the CSV which starts with the initial characters of the above text should be deleted.
The file should be resaved with that line of text eliminated.
Thanks in advance for your assistance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.