I need a tool that can open a text file and replace characters in a list with other characters in a list.
For example:
Lets say I have a list of "aA", "aB", and want to replace "aA" with "AA".
What is a software program that could do this easily?
|
I need a tool that can open a text file and replace characters in a list with other characters in a list. For example: Lets say I have a list of "aA", "aB", and want to replace "aA" with "AA". What is a software program that could do this easily? |
|||||||
|
|
This is exactly what the |
|||||
|
|
As a Perl one-liner, to replicate sed functionality...
This will turn this input.txt...
into this output.txt...
It does this through regular expression substitution...
|
|||
|
|