|We don't bite newbies here... much|
An option to do this is to quit all the conflictive's letters and make a match by the result of quit all that conflictive letters from the source and the query.
Once you do this can make a list of all the possibilities.
For Example if you want to parse Connecticut will be like
Conecticut --> Coecticut
Connecticut --> Coecticut
But be sure to select the right conflictive letters to discriminate. And I'll do the same to the repetitive letters like "nn" in Connecticut or "ss" and "pp" in Mississippi.
God help me always to see the other face of the coin. And prevent me from accusing of betrayal those who don't think just as I do.