title: Regex - Match all characters except those in certain words
body: <p>I want to capture all characters a-z, A-Z (non-numeric) except for those that are in a certain word (Javascript):</p>
  <p>ie:</p>
  <pre><code>For words: sin, cos, ln
  
  input:
  
  sins12  &lt;== should capture 4th character s
  cosb12  &lt;== should capture 4th character b
  alnb11  &lt;== should capture 1st character a and 4th character b
  </code></pre>
  <p>I have tried using the following:
  <code>^(?!sin$|cos$).*</code></p>
  <p>However, this captures the entire line which is not what I am looking for.</p>
  <p>What is the easiest way to do this? Negative lookahead?</p>