you could select any wrapping regex to handle root spellings: e.g.: /[^a-zA-Z]+/g : will make use of letters only, ignoring any sperial caracters and numbers.