I have a bunch of words (mostly places like Stockholm and London) and a bunch of strings. for example, "I want to go from Stockholm to London." I want to know what words are in the lines.
I am currently using .indexOf to accomplish this task.
Is there a library, method, function, etc. in javascript that identifies words with misspelled words?
source share