title: Elasticsearch Nest query to trim white spaces while comparing fields with provided value
body: <p>I am working with Nest API for elastic search and I am looking for some solution where we can trim white spaces while comparing fields with provided value.</p>
  
  <p><strong>Problem:-</strong></p>
  
  <p>Elastic DB have field "customField1" ="Jinesh&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" and I am passing value to search ="Jinesh" which is not comparing and providing no result.</p>
  
  <p><strong>What I am looking for:-</strong></p>
  
  <p>It should search exact provided search value by ignoring white spaces in elastic field values.</p>
  
  <p>Any help would be much appreciated.</p>
  
  <p>Thanks.</p>