title: How do I check for typos in a user submitted domain name?
body: <p>Basically, I'm trying to automatically correct user submitted emails with typos that are only a few letters off. For instance, if a user accidentally submits gamil.com or gmial.com instead of gmail.com, I would like to correct it. <strong>What's a good method for handling this task?</strong></p>