title: Javascript Regex: How to bold specific words with regex?
body: <p>Given a needle and a haystack... I want to put bold tags around the needle. So what regex expression would I use with replace()? I want SPACE to be the delimeter and I want the search to be case insensitive</p>
  
  <p>so say the needle is "cow" and the haystack is</p>
  
  <pre><code>cows at www.cows.com, milk some COWS
  </code></pre>
  
  <p>would turn into</p>
  
  <pre><code>&lt;b&gt;cows&lt;/b&gt; at www.cows.com, milk some &lt;b&gt;COWS&lt;/b&gt;
  </code></pre>
  
  <p>also keywords should be able to have spaces in it so if the keyword is "who is mgmt"...</p>
  
  <pre><code>great band. who is mgmt btw? 
  </code></pre>
  
  <p>would turn into</p>
  
  <pre><code>great band. &lt;b&gt;who is mgmt&lt;/b&gt; btw? 
  </code></pre>
  
  <p>Thanks</p>