I have a bunch of words (mostly locations, like Stockholm and London) and a bunch of strings. like "I want to go from stockholm to london". I want to find out what words are in what strings.
I currently use .indexOf to perform this task.
Is there a library, method, function etc, in javascript that identifies misspelled versions of words?