結果 : how to check if a string contains text from an array of substrings in javascript