Search found 2 matches

by somebody2978
Thu Sep 02, 2021 6:25 pm
Forum: TextCrawler - General
Topic: Search and Replace entire line
Replies: 2
Views: 5407

Re: Search and Replace entire line

DigitalVolcano wrote: Thu Sep 02, 2021 10:20 am It would be something like this
-Regular Expression mode
- Dot matches newline OFF
- Multiline Anchors ON

RegEx

Code: Select all

^.*bus.*$
Replace:

Code: Select all

the car is parked
It does not work, it leaves residues of the previous text, have to clean the entire line before inserting the new text.
by somebody2978
Wed Sep 01, 2021 8:27 pm
Forum: TextCrawler - General
Topic: Search and Replace entire line
Replies: 2
Views: 5407

Search and Replace entire line

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 onl...