Identify and Replace

Tool for Search and Replace across multiple files.
Post Reply
User avatar
David Reed

Identify and Replace

Post by David Reed »

I would like to identify the lines to make changes, then search and replace text within the line. I don't see a way to do this within TextCrawler 1.1.4. Have I missed something?

TIA
User avatar
DV

Post by DV »

TextCrawler only searches/replaces at the file level - it will replace all occurences of the search word in the file.
User avatar
Fool4UAnyway

Post by Fool4UAnyway »

Perhaps you could do it using look forward or look back regular expressions, depending on what exactly you want to do, for example, remove the end of a line that contains some word in the first part of it... Read about regular expressions at

http://www.regular-expressions.info/

An alternative might be using Notepad++ using a multi-pass strategy.

You may even combine both tools: extract the matches using Text Crawler and copy them to Notepad++ and further edit them there (although you may as well do the first step in Notepad++ as well).
User avatar
Fool4UAnyway

Post by Fool4UAnyway »

Post Reply