Search and Replace entire line
Posted: Wed Sep 01, 2021 8:27 pm
Hi,
I'm editing a text file and trying to make TextCrawler search a certain phrase or word, delete the entire line and be replaced by a different line.
Example,
The bus was carrying a lot of people.
The bus is stuck and cannot move forward.
The bus will be delayed.
TextCrawler would have to find only the word "bus" and replace all those lines with that word by "The car is parked" in each line, resulting in something like this:
The car is parked.
The car is parked.
The car is parked.
Can I do this with this program?
I'm editing a text file and trying to make TextCrawler search a certain phrase or word, delete the entire line and be replaced by a different line.
Example,
The bus was carrying a lot of people.
The bus is stuck and cannot move forward.
The bus will be delayed.
TextCrawler would have to find only the word "bus" and replace all those lines with that word by "The car is parked" in each line, resulting in something like this:
The car is parked.
The car is parked.
The car is parked.
Can I do this with this program?