I found that change is a good text replacement tool.
Accidentally discovered a program called change on the new DOS era, which is used to replace characters or 16-bit words. For example:
change test.txt /from yes /to no
Replace "yes" with "no" in the test.txt file;
change test.txt /from &h0d0a0d0a /to &h0d0a
Remove blank lines in the test.txt file.
change test.txt /text /from a* /to 999 /IN the
If there is a line in the test.txt file that contains the word 'the', then replace all substrings from the letter 'a' to the end of that word in all words in that line with '999'.
There are many other parameters, and it can handle various complex tasks. It can also work in console mode.
Accidentally discovered a program called change on the new DOS era, which is used to replace characters or 16-bit words. For example:
change test.txt /from yes /to no
Replace "yes" with "no" in the test.txt file;
change test.txt /from &h0d0a0d0a /to &h0d0a
Remove blank lines in the test.txt file.
change test.txt /text /from a* /to 999 /IN the
If there is a line in the test.txt file that contains the word 'the', then replace all substrings from the letter 'a' to the end of that word in all words in that line with '999'.
There are many other parameters, and it can handle various complex tasks. It can also work in console mode.


