title: Javascript profanity filter check for alternatives
body: <p>Is it possible to check for alternatives to a specific swear word that would catch cases like these:</p>
  
  <pre><code>var badWords = ["shit", "shiit", "shiiit"];
  function checkWord(word) {
  
  }
  </code></pre>
  
  <p>Instead of adding each possible combination of i,ii,iii etc into the array. Is there a cleaner way to catch something like this? With a regex maybe </p>