Say I am looking to match the string, "Bogata". I am looking for a regular expression or a short algorithm that would match either the anglicanized "Bogata" or the correct "Bogotá" or even a misspelled "Bógatá".
Similarly, if I am looking to match the string "Sao Paolo", I would want to match both "Sao Paolo" and "São Paolo".
My question is specific to javascript and the RegExp module but a more general solution would be preferable