title: Replacing text with varying letter case
body: <p>Here's my code:</p>
  
  <pre><code>let replaced = name.replace(search, '"' + search + '"');
  </code></pre>
  
  <p>so if I have name <code>Robert</code> and I'm searching for <code>obe</code> I will see <code>R"obe"rt</code>, if I search for <code>"Rob"</code> I will see <code>"Rob"ert</code>, but if I search for <code>'rob'</code> I got nothing, and I want to have <code>"Rob"ert</code></p>
  
  <p>How can I fix that?</p>