This actually took me like 5 minutes to make why was this so easy.
Notes & Credits
Note that it only works if one letter is spelled wrong and only works for one word at a time.
Feel free to use the script wherever you want no credit needed unless you want to.