Using find/replace on multiple items in multiple text files
Posted: Wed Jul 19, 2006 2:56 pm
I have a question about using the find/replace in TextPad.
Is there a way for Textpad find multiple items and replace multiple items in multiple files. For instance I have multiple text files with various text expressions that I want to replace with different text expressions. The text items would be a one to one replacement.
Example:
I have text.txt, text1.txt, text2.txt files. There are several text expressions in all three text files that I want to replace with different text expressions. I want to replace 'abc' with 'xyz', replace '123' with '098', and replace '101' with '202'.
Is there a way of setting up an array of text expressions and passing it to the replace function and running the replace function once? Or does each text expression have to be done one at a time with the replace function?
Example:
I have text.txt, text1.txt, text2.txt files. There are several text expressions in all three text files that I want to replace with different text expressions. I want to replace 'abc' with 'xyz', replace '123' with '098', and replace '101' with '202'.
Is there a way of setting up an array of text expressions and passing it to the replace function and running the replace function once? Or does each text expression have to be done one at a time with the replace function?