title: Need to search for number combinations within textbox(c#)
body: <p>I have a form with a text box which accepts 12 Numbers as input.</p>
  
  <p>I want to be able to search for 2 digit, 3 digit, 4 digit and 5 digit combinations and show predefined outputs for each such combination found. </p>
  
  <p>Example</p>
  
  <p>Text entered in textbox  : <code>919982115672</code></p>
  
  <p>Outputs </p>
  
  <pre><code>8211 : Some predefined text
  82 : Some predefined text
  9821 : Some predefined text
  5672 : Some predefined text
  </code></pre>
  
  <p>And so on</p>
  
  <p>Also some suggestions on how can i make a database of predefined values would be awesome</p>
  
  <p>Thank you.</p>