title: Case Insensitive javascript replace regex taking account word boundary
body: <p>I am writing the replace function in javascript taking account into word boundary</p>
  
  <pre><code>blog = blog.toLowerCase().replace(new RegExp("\\b" + wordList[i].toLowerCase() + "\\b", 'g'), "value to replace");
  </code></pre>
  
  <p>Now this is a <strong>CASE SESITIVE</strong> Replace i want to make it <strong>CASE INSENSITIVE</strong>.</p>
  
  <p>How can i accomplish this?</p>
  
  <p>Though for Case Insensitive there is <strong>\I</strong> but i dont know know how to fit it in my code</p>
  
  <p>Any help is appreciated.</p>