About
Pricing
Community
Teams
Start Free Trial
Log in
E=mc2
asked on
6/17/2021
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.
Powershell
* CSV Export
Scripting Languages
Windows Batch
1
1
Last Comment
oBdA
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
oBdA
6/17/2021
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Your help has saved me hundreds of hours of internet surfing.
fblack61