title: Match substring with regex
body: <p>Is there a way to match the following:</p>
  
  <pre><code>var text = 'this is a simple text \d oh yeah';
  var find = 'text 4';
  </code></pre>
  
  <p>I now want <code>find</code> to be found in <code>text</code> because it fills the pattern obviously ("this is a simple text 4 oh yeah")</p>
  
  <p>I don't really care which language (Java or JavaScript preferred) but is this possible?</p>