Hi,
You could use Crtl + H key combination in your .txt to replace specific content with required content.
If you want to create a windows app to make it, it belongs to a development question, you need to add development related tag in your post.
-------------------------------------------------------------------------------------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.