Assuming these two strings:
string s1=\"control\"; string s2=\"conrol\"; (or \"ocntrol\", \"onrtol\", \"lcontro\" etc.)
How can I programatical
You could try to check the Levenshtein distance between your two words and if the distance is beyond a threshold, replace the word.
The hard part is defining the threshold, in your examples a threshold of 2 could work.
(Implementation of Levenshtein distance in C#)