title: Searching a string from large text file of 10 Mb
body: <p>I have a large file of about 10 MB, I want to search a specific string, and this specific string may be used a lot of times in 10 Mb text file. I need results where this specific string is used. I want to do search like Google. For example when i write a string then google comes with matching Patterns . Your suggestions will be appreciated.</p>
  
  <p>file formate</p>
  
  <hr>
  
  <ol>
  <li>he is going to school.</li>
  <li>we should do best deeds.</li>
  <li>we should work hard.
  .
  .
  .
  .</li>
  <li><p>Always speak truth.</p>
  
  <hr>
  
  <p>i have search edit field in my application.
  user write "should" in search edit field.and press search button.
  a list should be opened in which searched words come with it's complete line.
  for example result should be</p>
  
  <hr></li>
  <li><p>we <strong>should</strong> do best deeds.</p></li>
  <li>we <strong>should</strong> work hard.
  <hr></li>
  </ol>