title: How to check if a string contains all of the characters of a word
body: <p>I wish to check if a string contains a all of the characters of a word given, for example:</p>
  
  <pre><code>var inputString = "this is just a simple text string";
  </code></pre>
  
  <p>And say I have the word:</p>
  
  <pre><code>var word = "ts";
  </code></pre>
  
  <p>Now it should pick out the words that contains <kbd>t</kbd> and <kbd>s</kbd>:</p>
  
  <blockquote>
    <p>this just string</p>
  </blockquote>
  
  <p>This is what I am working on:</p>
  
  <pre><code>var names = Regex.Matches(inputString, @"\S+ts\S+",RegexOptions.IgnoreCase);
  </code></pre>
  
  <p>however this does not give me back the words I like. If I had like just a character like <kbd>t</kbd>, it would give me back all of the words that contains <kbd>t</kbd>. If I had <kbd>st</kbd> instead of <kbd>ts</kbd>, it would give me back the word <kbd>just</kbd>.</p>
  
  <p>Any idea of how this can work ?</p>