title: How to make a string search features in any conditions in javascript?
body: <p>I had a struggle when i made a search feature for my project. My search feature only could search depend on my input field which is case sensitive.</p>
  <p>This is my search feature result for example:</p>
  <p>we will search a data and the title of data is &quot;Harry Potter&quot;</p>
  <p>if i search with &quot;Harry Potter&quot;,the return is true</p>
  <p>But,</p>
  <p>if i search with &quot;harry potter&quot;,the return is false</p>
  <p>how should i do to solve it?</p>