title: How to find all values in word by using regexp in MongoDB?
body: <p>Let's say I have the following string in MongoDB document: </p>
  
  <pre><code>{"name": "space delimited string"}
  </code></pre>
  
  <p>I need to build mongodb query with <code>regexp</code> to find this document by entering the following search request:</p>
  
  <p><code>space string</code></p>
  
  <p>It look like <code>LIKE</code> operator in RDBS. I know that there is latest MongoDB 3 with full-text search but I need <code>regexp</code> due current outdated version.</p>
  
  <p>Please help me to construct mongodb query with <code>regexp</code> to find document by entering the search above.</p>
  
  <p>Thanks</p>