title: JavaScript Replace specific words in a string
body: <p>How do you replace specific words from a string?
  If I want to replace <code>["hi", "hello", "welcome"]</code> with <code>greetings</code> in this string. (Case-insensitive)</p>
  
  <p>So <code>Hi there Welcome hi</code> would become <code>greetings there greetings greetings</code>.</p>