title: JavaScript/jQuery - Check if string contains one of the keywords
body: <p>How to test if string contains on of the selected keywords?</p>
  
  <p>For example </p>
  
  <pre><code>var keywords = 'small, big, large'
  var string = 'big brown bear';
  
  function wordInString(string, keywords){
    return new RegExp( '\\b' + keywords + '\\b', 'i').test(string);
  }
  </code></pre>
  
  <p>The above only works for a single word, I need to be able to test multiple words, and exact match.</p>